-
1. Re: mod_jk integration with JBoss for HTTP and HTTPS both
erasmomarciano Jul 29, 2008 8:06 AM (in response to deepakgupta_721)You should configure a Virtualhost in apache.
-
2. Re: mod_jk integration with JBoss for HTTP and HTTPS both
deepakgupta_721 Jul 30, 2008 12:30 AM (in response to deepakgupta_721)Hi,
thanks for the reply I already have virtual host for SSL please tell me if it further requires some configuration or any other parameter, I am really stuck on this.<VirtualHost _default_:443> DocumentRoot "C:/java/ApacheSoftwareFoundation/Apache2.2/htdocs" ServerName 59.160.109.11:443 ServerAdmin d.gupta@mpstechnologies.com ErrorLog "C:/java/ApacheSoftwareFoundation/Apache2.2/logs/error.log" TransferLog "C:/java/ApacheSoftwareFoundation/Apache2.2/logs/access.log" SSLEngine on SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL SSLCertificateFile "C:/java/ApacheSoftwareFoundation/Apache2.2/conf/sp-cert.pem" SSLCertificateKeyFile "C:/java/ApacheSoftwareFoundation/Apache2.2/conf/sp-key.pem" <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory "C:/java/ApacheSoftwareFoundation/Apache2.2/cgi-bin"> SSLOptions +StdEnvVars </Directory> BrowserMatch ".*MSIE.*" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 CustomLog "C:/java/ApacheSoftwareFoundation/Apache2.2/logs/ssl_request.log" \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b" </VirtualHost>
Thanks,
Deepak -
3. Re: mod_jk integration with JBoss for HTTP and HTTPS both
erasmomarciano Jul 30, 2008 4:29 AM (in response to deepakgupta_721)Where is the problem?
Try click here
http://www.johnturner.com/howto/mod_jk_conf.html
http://www.jajakarta.org/tomcat/tomcat3.2-4.0/tomcat-3.2.3/doc/mod_jk-howto.html#s72 -
4. Re: mod_jk integration with JBoss for HTTP and HTTPS both
deepakgupta_721 Jul 30, 2008 6:36 AM (in response to deepakgupta_721)Thanks Allot,
With Your help its working now.
Regards,
Deepak -
5. Re: mod_jk integration with JBoss for HTTP and HTTPS both
rsn Sep 6, 2008 9:01 PM (in response to deepakgupta_721)for benefit of others:
Deepak might have not done apache config to handle https initially. The solution he applied is (in httpd.conf)
a) create virtual hosts
b) assign port 80 virtual host to the location and mod_jk directives
c) assign port 443 virtual host to the location and mod_jk directives
---example---
<VirtualHost 10.0.0.2:80>
DocumentRoot /web/host2
ServerName host2.apache.org
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13
<VirtualHost 10.0.0.2:443>
DocumentRoot /web/host2
ServerName host2.apache.org
SSLEngine On
JkMount /*.jsp ajp13
JkMount /servlet/* ajp13