redirect IE6 with mod_rewrite

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

 



I'm trying to redirect IE6 users to a special page using mod_rewrite, 
since this seems to be the usual suggestion googling.  I'm testing it 
this way to see if the method will work:

RewriteEngine On
RewriteCond %{HTTP_USER_AGENT}  .*Mozilla.*
RewriteRule html$ error.mhtml          [L]

which I figure should cover everything, but in fact it has no effect on 
anything.  I've played around lots with the regex ("^Mozilla.*", 
"Mozilla", "^Mozilla", even ".*"), etc. but nothing works.

Anyone know how to do this right?



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