httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
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 <drew@mykitchentable.net> wrote:
> RewriteRule ^/(.*)         http://www.alchemistswarehouse.com/$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
covener@gmail.com

---------------------------------------------------------------------
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


Mime
View raw message