[thelist] quick url rewrite help

John DeStefano john.destefano at gmail.com
Fri Feb 16 11:10:48 CST 2007


I'm trying to do something that seems pretty simple with Apache, and
I'm pulling my hair out over it... I'm just trying to get a
sub-sub-dir "/a/b/c" to be accessible via a sub-dir "/a/c" within an
existing VirtualHost.  I've tried rewrite rules, proxy rules,
locations, nothing has worked, so I assume I'm screwing up syntax
somehow.

For example:
RewriteRule ^/a/c(.*) /a/b/c$1 [R]

This comes up as a 404 error.  Any idea why?



More information about the thelist mailing list