tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GOMEZ Henri <hgo...@slib.fr>
Subject RE: TC 3.2.2b4 URI Rewriting with mod_ssl
Date Fri, 04 May 2001 10:25:11 GMT
>not fill -> new sentence
>so I have to do all these things in TC3.2.2b4, will it be 
>completly insert in
>TC3.2.2 final ?

It is included in the latest CVS code so it will be in 3.2.2 final....
>>
>>
>> >
>> >
>> > >1. install the jnet.jar and jsse.jar in the ROMCAT/lib dir.
>> > >2.set the TOMCAT_OPTS
>> > 
>>=-Djava.protocol.handler.pkgs=com.sun.net.ssl.internal.www.protocol
>> > >3. Modify the HttpServletResponseFacade.java:
>> > >retrieving revision 1.6.2.3
>> > >diff -u -r1.6.2.3 HttpServletResponseFacade.java
>> > >--- 
>src/share/org/apache/tomcat/facade/HttpServletResponseFacade.java
>> > >2001/03/06 17:38:13     1.6.2.3
>> > >+++ 
>src/share/org/apache/tomcat/facade/HttpServletResponseFacade.java
>> > >2001/03/20 13:29:41
>> > >@@ -353,10 +353,14 @@
>> > >            return (false);
>> > >        if 
>(!request.getServerName().equalsIgnoreCase(url.getHost()))
>> > >            return (false);
>> > >-        // Set the URL port to HTTP default if not 
>available before
>> > >comparing
>> > >+        // Set the URL port to protocol default if not
>> > >available before
>> > >comparing
>> > >         int urlPort = url.getPort();
>> > >         if (urlPort == -1) {
>> > >-            urlPort = 80;
>> > >+            if("http".equalsIgnoreCase(url.getProtocol())) {
>> > >+                urlPort = 80;
>> > >+            } else if 
>("https".equalsIgnoreCase(url.getProtocol())) {
>> > >+                urlPort = 443;
>> > >+            }
>> > >         }
>> > >        if (request.getServerPort() != urlPort)
>> > >            return (false);
>> >
>> > That code need to be commited in 3.2.2b4
>>
>> only this, or the other two step also ?
>
>only this, or the other two steps also ?
>
>
>>
>>
>> >
>> >
>> > >I have made this with TC3.2.2b2 and TC3.2.2b3, and this works.
>> > >Then it doesn't matter if you use the ajp12 or ajp13 Protocol
>> > >(I have read that this is important to use ajp13)
>> >
>> > You need ajp13 to get some SSL web-server vars.
>> >
>> > >so please help,
>> >
>> > You provide a patch which may be included in tomcat and must be
>> > reviewed by Marc for approval but It seems ok to me and Costin use
>> > the same (cvs commit: 
>jakarta-tomcat/src/facade22/org/apache/tomcat/facade
>> > HttpServletResponseFacade.java)
>>
>> thnaks and this will be the last questions about that problem ;-),
>> Greetings Wolle
>
>thanks and this will be the last questions about that problem ;-),
>Greetings Wolle
>
>;-)
>thanks for inconvenience
>Michael
>

Mime
View raw message