Hey,,
please use secure="true"

<Connector secure="true" acceptCount="100" address="127.0.0.1" connectionTimeout="20000" disableUploadTimeout="true" port="9080" proxyName="myhost" proxyPort="443" redirectPort="9443" scheme="https">
</Connector>


Don't forget to create the Server keystore.
Please read the Connector docs:

http://jakarta.apache.org/tomcat/tomcat-5.0-doc/ssl-howto.html
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html

Regards
Peter


Luis Fernando Pardo schrieb:

Hello,

I have just upgraded my tomcat version from 5.0.16 to 5.0.29 and I have found a problem with the request.getScheme method. I have set apache server to listen on 443 port (SSL) and proxypass to Tomcat on local address (127.0.0.1) and port 9080. This is the connector configuration in Tomcat:

<Connector acceptCount="100" address="127.0.0.1" connectionTimeout="20000" disableUploadTimeout="true" port="9080" proxyName="myhost" proxyPort="443" redirectPort="9443" scheme="https">
</Connector>


With this configuration in Tomcat 5.0.16, when I call to getScheme method, it returns "https" value, but in the new version 5.0.29 I always get "http".

Does anyone know if connector configuration in 5.0.29 has changed from 5.0.16? or may I have doing something wrong?

Thanks in advance





--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to