tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rudolf Schamberger" <Rudolf.Schamber...@cio.gv.at>
Subject mod_ssl+mod_jk do not forward the https scheme in right manner
Date Mon, 25 Aug 2003 20:54:07 GMT
I am using mod_jk together with apache 1.3 an mod_ssl to forward the
HTTPS request from apache 1.3.27 to tomcat 4.1.24.

Instead of getting the URL that a am entering in the browser
https://foo.bar/servletXY?param=abc

I get following URL-request in tomcat:

http://foo.bar:443/servletXY?param=abc

Thus it works almoust, but the scheme I get is wrong.

I am not sure where the problem lies. I am newbee in httpd 
but I still tried to follow the mod_jk documentation.

Can anybody point me how to get the right scheme (https)? 
Any help appreciated.

  thx. Rudolf S.




my httpd.conf file contains following
---------
...

<IfModule !mod_jk.c>
LoadModule jk_module /etc/httpd/modules/mod_jk.so
</IfModule>

JkWorkersFile
"/opt/jakarta/catalina-base-moaid/conf/jk/workers.properties"
JkLogFile "/opt/jakarta/catalina-base-moaid/logs/mod_jk.log"
JkLogLevel debug
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"

<VirtualHost *:443>
    ServerName   foo.bar
    DocumentRoot /home/www/
    RewriteEngine off
    #SSLEngine on  # turning on here does not work -> so it is done
outside of VH.

    ErrorLog    /var/log/httpd/error_log
    JkMount /moa-id-auth/* moaworker
    JkMount /* moaworker
</VirtualHost>
...
---------

my workers.properties file contains:
---------
worker.list=moaworker
worker.moaworker.type=ajp13
worker.moaworker.host=localhost
worker.moaworker.port=8009
---------

my server.xml file contains:
...
  <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8009" minProcessors="5" maxProcessors="75"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="10" connectionTimeout="0"
               useURIValidationHack="false" scheme="https" secure="true"
 
protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
...


Mime
View raw message