tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maureen Fisher <m...@cornell.edu>
Subject rewrite rule
Date Thu, 10 Aug 2000 19:20:16 GMT
Using mod_rewrite on my jsp directory (to redirect those requests to the SSL port) it seems
to drop off the context container and take the rest of the URI.
For example, from the rewrite log:
IP - - [10/Aug/2000:14:36:50 -0400] [hostname.cornell.edu:8080/sid#200cdfd0][rid#2016d600/subreq]
(3) applying pattern '^/jsp/ee(.*)' to uri '/test/'

The real URI is hostname:8080/jsp/ee/test/

The rewrite rule is:
RewriteRule ^/jsp/ee(.*)	https:/hostname.cornell.edu:8443/jsp/ee$1

If I create a test rule to map the root to the SSL port it works. 
ie
RewriteRule ^/(.*)	https://hostname.cornell.edu:8443/$1

Any ideas? (The strangest part is that it worked yesterday.)
========================================================
Maureen Fisher, CIT/ASDT, Cornell University
Ithaca, NY 14850
mf12@cornell.edu
http://mo.cit.cornell.edu/
Ad astra per aspera


Mime
View raw message