This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
apache [2010/10/31 01:04] k2patel |
apache [2010/12/11 21:23] k2patel |
||
---|---|---|---|
Line 157: | Line 157: | ||
SetEnvIfNoCase User-Agent "^Teleport" bad_bot | SetEnvIfNoCase User-Agent "^Teleport" bad_bot | ||
SetEnvIfNoCase User-Agent "^EmailCollector" bad_bot | SetEnvIfNoCase User-Agent "^EmailCollector" bad_bot | ||
+ | SetEnvIfNoCase User-Agent "^Mozilla/4\.0\ \(compatible\)$" bad_bot | ||
Order Allow,Deny | Order Allow,Deny | ||
Line 171: | Line 172: | ||
RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR] | RewriteCond %{HTTP_USER_AGENT} ^ChinaClaw [OR] | ||
RewriteCond %{HTTP_USER_AGENT} ^Custo [OR] | RewriteCond %{HTTP_USER_AGENT} ^Custo [OR] | ||
+ | RewriteCond %{HTTP_USER_AGENT} ^Mozilla/4\.0\ \(compatible\) [OR] | ||
RewriteRule ^.* - [F,L] | RewriteRule ^.* - [F,L] | ||
</code> | </code> |