2009/10/13 Sam Gendler <sgend...@vid.me>:
> That method uses
> request.getScheme(), to retrieve "https" (correct) and
> request.getServerName() to get the correct host name.  It then calls
> request.getServerPort(), which incorrectly returns the value of 80.
[...]
> What do I need to do to get the request to correctly return 443 as the port
> when a request arrives on the connector without any port in the url or Host
> header?

The keyword to look for is "Proxying" - your SSL front-end is proxying
the SSL connector for you.

http://tomcat.apache.org/tomcat-6.0-doc/config/http.html shows
connector attributes of "proxyHost" and "proxyPort", which I think
will do exactly what you want.

Hope this helps!

- Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to