tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Miehs <and...@2sheds.de>
Subject Re: Tomcat 5.5 and secure="true"
Date Fri, 30 Mar 2007 12:10:36 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Filip,

Thanks for the info!

This was what I was planning on doing with Tomcat 5.5.

I have now gone back to use mod_proxy_ajp.

(I can not migrate to Tomcat 6.0 for political reasons)...

Regards

Andrew

On 29/03/2007, at 9:54 PM, Filip Hanik - Dev Lists wrote:

> With tomcat 6, you could do this:
>
>
> 1. For non SSL traffic
> Just ProxyPass to tomcat like always (set ProxyPreserveHost On)
>
> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
>          port="8080"
>          proxyPort="80">
>
> 2. For SSL traffic
> Proxy pass to another connector setup like this
>
> <Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
>          secure="true" scheme="https"
>          SSLEnabled="false"
>          port="8081"
>          proxyPort="443">
>
> SSLEnabled=false, means it is http, not https, but
> request.getScheme - will return https
> request.isSecure - will return true
> request.getServerPort - will return 443

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFGDP49W126qUNSzvURAogwAJ4vXzAmgsitlChwJGdkRv5FrZknEQCeK0S+
GLECaDbMWsDKc8xgFL5GmHQ=
=trjH
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message