Hi, how does mod_rewrite interact with <Location> directives? I'm trying to do a url to url rewrite, but want the resulting url to go through the <Location> directives, it seems that apache skipped the <Location> part, and directly looks for the file:
 
RewriteRule /foo.html /bar/test
 
<Location /bar>
  blabla, it's handled by mod_jk to tomcat
</Location>
 
when I ask for /foo.html, it gives me "404 Not found: /bar/test", the rewritelog also shows it's looking for the file name "/bar/test" rather than
applying the <Location> part. How can I accomplish this?
 
Thanks.
 
Z.
 

Reply via email to