httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martijn <sweetwaterg...@googlemail.com>
Subject Re: [users@httpd] RewriteRule Problem
Date Tue, 17 Jul 2007 16:02:53 GMT
On 7/17/07, tina exner <texner@picturesafe.de> wrote:
> I have the below RewriteRules configured in my httpd.conf (Apache
> Version 2.0.54)
> But i never reach the site XY1, because:
> (rewrite.log)...explicitly forcing redirect with...
> I changed the Flags but it still doesn´t work.
> How do i have to configure it to work correctly ?
>
> RewriteCond %{HTTP_USER_AGENT} .*nokia.* [NC,OR]
[..]
> RewriteCond %{HTTP_USER_AGENT} .*safari.* [NC,OR]
> RewriteRule ^/$ http://www.domain.de/XY2/ [L]
>
> RewriteRule ^/$ http://www.domain.de/XY1/ [R,L]

What if you remove the ,OR from the last RewriteCond?

Martijn.

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