You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Noah <si...@onastick.net> on 2005/06/04 02:30:08 UTC
Re: [users@httpd] mod_rewrite and
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@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org