mod_jk2 https 2004-11-30 - By Andrew M
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
|
|