On Tue, May 24, 2005 at 02:33:45PM +0100, Arne Heizmann wrote: > theshz wrote: > >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 > > RewriteRule /foo.html /bar/test [R] Or, if you'd rather keep the /foo.html URL in the browser: RewriteRule /foo.html /bar/test [PT,L] --n -- When the need arises -- and it does -- you must be able to shoot your own dog. Don't farm it out -- that doesn't make it nicer, it makes it worse. --Robert A. Heinlein --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx