[Catalyst] Re: catalyst request path and apache rewrites

Aristotle Pagaltzis pagaltzis at gmx.de
Sat Dec 19 14:30:51 GMT 2009


* William Wueppelmann <william.wueppelmann at canadiana.ca> [2009-12-18 14:40]:
> I have the following rules configured for my virtual host in
> apache:
>
> RewriteCond %{REQUEST_URI} !^/foo/bar
> RewriteRule ^/(.*)$ /foo/bar/$1 [PT]

Btw, this is most probably not going to affect your problem, but
anyway, you likely want to lose the RewriteCond and instead have
just

    RewriteRule ^/(.*)$ /foo/bar/$1 [L,PT]


Just another mod_rewrite hacker,
-- 
Aristotle Pagaltzis // <http://plasmasturm.org/>



More information about the Catalyst mailing list