httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vincent Bray" <nood...@gmail.com>
Subject Re: [users@httpd] Help w/ Rewrite
Date Sun, 16 Dec 2007 20:00:00 GMT
On 16/12/2007, Bryan Richardson <btricha@gmail.com> 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@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