Re: Rewrite inside Location directive

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

 






<Location /old >
RewriteRule  ^/old(.*) http://%{HTTP_HOST}//new  [PT]
</Location>

By the way, there are much better ways to do this. Basically what you're saying there is

Alias /old /path/to/new


which would be more efficient

[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