Subject: | banning this browser: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) |
Posted by: | no.repl…@comcast.net (no.repl…@comcast.net) |
Date: | 16 May 2007 |
In my htaccess file, I have some restrictions using the following
rule: RewriteCond %{HTTP_USER_AGENT}. One example would be:
RewriteCond %{HTTP_USER_AGENT} ^.*baidu.*$ [NC,OR], which restricts
any browser with baidu in it name.
How can I set up a rule to ban this particular browser: Mozilla/4.0
(compatible; MSIE 6.0; Windows NT 5.1; SV1) ? 95% of requests made to
my site by this browser is spam. I thought of using ^.*SV1.*$ but
unfortunately, there are legitimate browsers with SV1 in parts of
their name.
Thanks for the help.
--F