httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <>
Subject Re: [users@httpd] ModRewrite Help
Date Wed, 20 Jan 2010 23:31:12 GMT
On Wed, Jan 20, 2010 at 6:24 PM, Drew Tomlinson <> wrote:
> RewriteRule ^/(.*)$1 [R]
> I have tried putting this code in my .htaccess file in different places but
> it doesn't seem to have any effect.  I've even removed the "L" flag from the

This rule is a no-op in htaccess.  In htaccess, the string you're
comparing to never has a leading slash -- the entire rewritebase is
stripped off  ("/" is stripped off in the DocumentRoot, for example)

Eric Covener

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message