tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Loïc Lefèvre <>
Subject RE: [MOD_REWRITE] Why...
Date Thu, 09 Aug 2001 16:23:22 GMT
Indeed, phew I finally found someone with the same hemm...problem ;)

Did you find a solution?
Did you try to "patch" Tomcat? ;)

Loïc Lefèvre

-----Message d'origine-----
De : Brett Neumeier []
Envoyé : jeudi 9 août 2001 17:37
À :
Objet : Re: [MOD_REWRITE] Why...

Denis Haskin wrote:
> We found that we had to do 2 things:
> 1) Make sure that mod_jk was loaded into Apache *before* mod_rewrite,
> which meant moving the loading of mod_jk from mod_jk.conf to Apache's
> httpd.conf, and we listed it in the LoadModule and AddModule lists
> *before* mod_rewrite.  That ensured that mod_rewrite got to the URL
> before mod_jk did.  I'm now less convinced this is absolutely
> necessary--the next item may be more important.
> 2) Put the [PT] (passthrough) flag on all RewriteRule lines that were
> rewriting URLs to go to Tomcat.


I find that both of these steps are in fact required.  I tried just
adding the [PT] flag to the rewrite rules, and it wasn't good enough.



View raw message