Re: Help w/ Rewrite

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

 



On 16/12/2007, Bryan Richardson <btricha@xxxxxxxxx> wrote:
[snip]
> root directory.  I've tried both ^(.*)$ and /^(.*)$ for the rewrite rule.
> Any suggestions?  Thanks! -- BTR

The first of those should work but the second not (it's not really a
valid regex as ^ mid-string doesn't have a special meaning, and in
htaccess there's no leading slash). Try these wiki pages:

http://wiki.apache.org/httpd/RewriteHtaccessIgnored
http://wiki.apache.org/httpd/RewriteContext
http://wiki.apache.org/httpd/RewriteHTTPToHTTPS

-- 
noodl

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