httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "theshz" <the...@gmail.com>
Subject [users@httpd] mod_rewrite and <Location>
Date Mon, 23 May 2005 23:18:47 GMT
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.

Mime
View raw message