Re: ModRewrite Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Covener wrote:
On Wed, Jan 20, 2010 at 6:24 PM, Drew Tomlinson <drew@xxxxxxxxxxxxxxxxxx> 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)
Thanks for your reply. So is there any way to do what I want with .htaccess?

Cheers,

Drew

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux