According to:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/http.html

setting the "scheme" attribute should force all calls to getScheme()
to return whatever protocol was put for the value of scheme.

I've found this to not be true.  Has anyone successfully set the
scheme for tomcat 4.1.31 or tomcat 5.5.4?

The connector is as follows:
<Connector
className="org.apache.coyote.tomcat5(4).CoyoteConnector"
acceptCount="100"
connectionTimeout="15000" debug="60000" disableUploadTimeout="false"
maxThreads="150" minSpareThreads="5" maxSpareThreads="75"
enableLookups="false"
port="8080" redirectPort="443" scheme="https" secure="false"
proxyPort="443"
useURIValidationHack="false"/>



Calling getScheme() in a jsp [ <html><head></head><body> getScheme=<%= request.getScheme() %> </body></html> ] results in 'http' being displayed instead of 'https'


Has anyone else noticed this behaviour or know a way around it?

Thanks,

Eric

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



Reply via email to