[users@httpd] RewriteRule

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

 



Hello all

I seem to have a weird problem with a RewriteRule...

RewriteCond %{HTTP_USER_AGENT} !^Mozilla/5.* [OR]
RewriteCond %{HTTP_USER_AGENT} !^Opera.*
RewriteRule ^/$ http://www.getfirefox.com [R]

Basically, I want every MSIE to be redirected to getfirefox.com (please don't argue or ask why...), so I came up with this RewriteRule (assuming MSIE has Mozilla/4.0 as User Agent)...
Problem is, *everyone* gets redirected...
What did I do wrong and what is the solution to this?

Thanks in advance

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