tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Coben" <phl...@slac.com>
Subject Problems with Apache-Tomcat, URL-rewriting in SSL
Date Tue, 28 Jan 2003 16:29:51 GMT
I aplogize if this has been addressed, previously. I've spent hours
searching for the Answer but have come up empty.

I am running Tomcat 4.1.18 on Redhat 8. I've followed the instructions at
jakarta.apache.org for installing/running SSL and everything is working as
expected, I can open an SSL connection on port 8443

EXCEPT for when I try to encode a URL with response.encodeURL() within the
SSL connection. Apache chokes when it sees ;jessionid= in the URL. I've read
that I can get around this by appending

 <IfModule mod_rewrite.c>
      RewriteEngine     on
      # Force URLs with a jsessionid to go to Tomcat. Necessary because
      # Apache doesn't recognise that the semi-colon is special.
      RewriteRule       ^(/.*;jsessionid=.*)$   $1 [T=jserv-servlet]
  </IfModule>

into /etc/httpd/conf/httpd.conf, but it isn't working (and yes, I have made
sure that the load rewrite mod line is uncommented).

I need to be able to track sessions within the encrypted portion of this app
regardless of cookie support by the client. I understand that the SSL
portion of this gets run through Apache before being sent on to Tomcat, and
it doesn't seem like Apache wants to isten to my configuration requests. Is
there any way to force the URL into Tomcat from the requesting page?

Thanks in advance,

Jay


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


Mime
View raw message