You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by octopus <oc...@hotmail.com> on 2004/09/06 15:04:23 UTC

sendRedirect problem in SSL

When I call response.sendRedirect with a relative url in https,
the redirect is sent to not https but http.
In http, the redirect is correctly sent to http.
And also, if I use an absolute url with https:// in sendRedirect,
the redirect works fine.

This is what I'm running:

- Redhat Linux 9
- Stone 2.2
- Apache 2.0.49
- jk2-2.0.4
- Tomcat 4.1.30

This is sequence which represents port forwarding:

[http]
my.first.com:80(apache2+mod_jk2) => my.second.com:8010(tomcat)

[https]
my.first.com:443(stone) => my.first.com:8080(apache2+mod_jk2) => my.second.com:8010(tomcat)

Any help is appreciated.
Thanks.

// 
dave


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org