On Mon, Aug 3, 2009 at 4:31 AM, Matus UHLAR - fantomas<[email protected]> wrote:
> On 02.08.09 17:38, MK wrote:
>> I'm trying to redirect IE6 users to a special page using mod_rewrite,
> ...
>> RewriteCond %{HTTP_USER_AGENT}  .*Mozilla.*
> ...
>> I've played around lots with the regex ("^Mozilla.*",
>> "Mozilla", "^Mozilla", even ".*"), etc. but nothing works.
>
> many browsers advertise themselves as mozilla. Mozilla was originally
> internal codename od netscape navigator (or its engine?) and microsoft
> browsers use the name too. This way you won't redirect only IE6 but even
> newer IEs, real Mozilla browsers and possibly others...
>
> --
> Matus UHLAR - fantomas, [email protected] ; http://www.fantomas.sk/
> Warning: I wish NOT to receive e-mail advertising to this address.
> Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
> He who laughs last thinks slowest.
>
> ---------------------------------------------------------------------
> 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: [email protected]
>   "   from the digest: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Indeed, try logging the server variables on your webpage on every
browser you can think of and you'll see how they identify themselves,
I personally would use this pattern to single out IE6:

.*MSIE 6.*

---------------------------------------------------------------------
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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to