Java Mailing List Archive

http://www.junlu.com/

Subjects
Home
mod jk2 https
Donation of JAXP 1 3 Sources to Apache
R annoyances
RE: Finding out when the aspnet admin worker process has recycled
Favorite Linux Distribution
eigenvalues of a circulant matrix
Apache Install
Reachin apache from outside
Ant should have an ext directory
Warning: Documentroot doesn 't exist
Can this be Done?
RE: Multilanguage Application
RE: Simple Question On setting up Sub Domain site
Lack of independence in anova()
How to close connection instead of sending 403?
winning the case for ANT
Re: adding php
New Ant GUI 'Ant 's Nest '
Narrowing Down A Strange Problem
Ant Task: sshexec
R Graph Gallery : categorization of the graphs
I 've been hacked, I need some help please
RE: Anyone working with DotNetNuke?
RE: Exception Handling Opinion
hex format
RE: IIS stopped working :(
<for > Build Failed:problem
RE: Separation of Objects from Logic
RE: Tracking pages with long request execution time
sending email to multiple destination
Web Site
ant UI
Easy cut & paste from Excel to R?
Win32 Apache Restart
Improving Tasks
HELP! PLEASE!
RE: Adding Controls to a Page
read table
RE: ASPNET account doesn 't exist!
Best way to uninstall Apache2 on red hat
from win to linux how to web page
XMLParseException changes and creation of XMLLocator2
Re Post: rewrite backslash to forward slash
Target or macrodef?
Page display problem XPSP2
Authentication problems
Dynamic Dictionary Data Type?
Newbie unable access my www from outside
off topic question: Latex and R in industries
Conflict between xtable and Hmisc when using Sweave?
Very old problem without any new solution
mod rewrite help
Basic Authentication question
RE: Code Security
calling ant from java program
prevent double signing
Re: Controlling Copy/Paste/Print
Using R to illustrate the Central Limit Theorem
web server slow too much slow
access to user directories
Links
Home
Official R Project Site
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
mod_jk2 https

mod_jk2 https

2004-11-30       - By Andrew M
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

Ralph,
I am using Apache 2.0.52 and have made the following amendments:

1. create a certificate file : /library/Apache2/conf/mysiteNew.crt
2. create a key file: /library/Apache2/conf/www.mysite.com.key
3. Amend the ssl.conf file:

<IfDefine SSL>
<VirtualHost 127.0.0.1:443>
......
SSLCertificateFile /Library/Apache2/conf/mysiteNew.crt
SSLCertificateKeyFile /Library/Apache2/conf/www.mysite.com.key

****** Start Note  ***
RewriteEngine on

RewriteRule "^/WEB-INF/?(.*)" "$0" [L,F,NC]
RewriteRule "^/(.*)\.gif$" "$0" [L]
RewriteRule "^/(.*)\.jpg$" "$0" [L]
RewriteRule "^/(.*)\.swf$" "$0" [L]
RewriteRule "^/(.*)\.php$" "$0" [L]
RewriteRule "^/(.*)\.m3u$" "$0" [L]
RewriteRule "^/(.*)\.mp3$" "$0" [L]
RewriteRule "^/(.*)\.html$" "$0" [L]
RewriteRule (.*)\.(js|css|xml|xsl|kont|jx|xsp|svg)$
https://localhost:8080/mysite/$1.$2 [P,L]
RewriteRule "^/(.*)" "https://localhost:8080/$1" [P]
ProxyPassReverse / https://localhost:8080/
***End  Note ***
</virtualHost>
</IfDefine>

Note: Not sure about the rewrite code in the virtual host. The thinking
behind this is to be able to do https://www.mysite.com in the url and
be directed to port 8080!!! http://www.mysite.com works fine.

Suffice to say, when I enter https://www.mysite.com into the url I get
'the connection was refused when attempting to contact www.mysite.com'.
What am I doing wrong???

many thanks

Andrew

p.s. I have enabled port 443 in the firewall as well.


On 30 Nov 2004, at 22:10, Ralf Glauberman wrote:

> plain text please!
>
> did you have a look at the general https documentation. i think you
> will have to set up ssl as described there. try it, if you are having
> problems, ask again.
>
> ----- Original Message ----- From: Andrew M
> To: users@(protected)
> Sent: Tuesday, November 30, 2004 7:56 PM
> Subject: [users@(protected)] mod_jk2 https
>
>
> Hi,
> I currently have apache sitting at the front end passing requests to
> jboss on port 8080 like so in my http.conf:
>
> # mod_jk2 configuration
> LoadModule jk2_module modules/mod_jk2.so
>
> # for jboss
> RewriteEngine on
>
> RewriteRule "^/WEB-INF/?(.*)" "$0" [L,F,NC]
> RewriteRule "^/(.*)\.gif$" "$0" [L]
> RewriteRule "^/(.*)\.jpg$" "$0" [L]
> RewriteRule "^/(.*)\.swf$" "$0" [L]
> RewriteRule "^/(.*)\.php$" "$0" [L]
> RewriteRule "^/(.*)\.m3u$" "$0" [L]
> RewriteRule "^/(.*)\.mp3$" "$0" [L]
> RewriteRule "^/(.*)\.html$" "$0" [L]
> RewriteRule (.*)\.(js|css|xml|xsl|kont|jx|xsp|svg)$
> http://localhost:8080/mysite/$1.$2 [P,L]
> RewriteRule "^/(.*)" "http://localhost:8080/$1" [P]
> ProxyPassReverse / http://localhost:8080/
>
> How would I, in this instance, setup https? Bare with me if this seems
> fairly obvious as I have never worked with https before.
>
> many thanks
>
> p.s. How do I then go about creating/obtaining a certificate to sit in
> apache to make the whole ssl thing work?
> Andrew
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@(protected)
>   "   from the digest: users-digest-unsubscribe@(protected)
> For additional commands, e-mail: users-help@(protected)
>
>


?+The home of urban music
 + http://www.beyarecords.com


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@(protected)
  "   from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.