tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <mailing-tomcat-u...@schoenhaber.de>
Subject Re: Tomcat 5.5.10: APR-SSL generates wrong 302 response
Date Mon, 25 Jul 2005 15:46:55 GMT
Am Montag, 25. Juli 2005 17:39 schrieb Remy Maucherat:
>
> There's indeed a cut & paste error (the default ports for HTTP and
> HTTPS are inverted), so you need to add an extra '!':
>
>   Index: Http11AprProcessor.java
>   ===================================================================
>   RCS file:
> /home/cvs/jakarta-tomcat-connectors/http11/src/java/org/apache/coyote/http1
>1/Http11AprProcessor.java,v retrieving revision 1.25
>   retrieving revision 1.26
>   diff -u -r1.25 -r1.26
>   --- Http11AprProcessor.java	13 Jul 2005 13:03:51 -0000	1.25
>   +++ Http11AprProcessor.java	25 Jul 2005 15:32:48 -0000	1.26
>   @@ -1422,8 +1422,8 @@
>            }
>
>            if (colonPos < 0) {
>   -            if (ssl) {
>   -                // 80 - Default HTTTP port
>   +            if (!ssl) {
>   +                // 80 - Default HTTP port
>                    request.setServerPort(80);
>                } else {
>                    // 443 - Default HTTPS port
>
>
> Using proxyPort="443" should be a decent workaround.

Great! Thanks for the quick response.

Regards
  mks

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


Mime
View raw message