httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: [users@httpd] mod_rewrite bug?
Date Thu, 19 Feb 2004 06:15:52 GMT
* "Porter, Mark" <Mark.Porter@LibertyMutual.com> wrote:

> RewriteCond %{HTTP_HOST} ^server.mydomain.com
> RewriteCond %{REQUEST_URI} ^/news_releases
> RewriteRule .* http://sorryserver.mydomain.com/index.html [R]

You're missing the [L] flag here.

> 
> RewriteCond %{HTTP_HOST} ^server.mydomain.com
> RewriteRule (.*) http://server.mydomain.com$1 [P]

nd

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