This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
bad_bot_list [2010/12/11 22:42] k2patel |
bad_bot_list [2010/12/12 00:55] k2patel |
||
---|---|---|---|
Line 8: | Line 8: | ||
<code htaccess | .htaccess> | <code htaccess | .htaccess> | ||
- | SetEnvIfNoCase User-Agent "^Mozilla/4\.0\ \(compatible\)$" bad_bot | + | SetEnvIfNoCase User-Agent "^Mozilla/4\.0\ \(compatible\)$" bad_bot |
+ | SetEnvIfNoCase User-Agent "^ZmEu$" bad_bot | ||
Order Allow,deny | Order Allow,deny | ||
Allow from all | Allow from all | ||
deny from env=bad_bot | deny from env=bad_bot | ||
- | |||
</code> | </code> | ||
+ | |||
+ | |||
+ | ==== Another way of doing it ==== | ||
+ | |||
<code htaccess | .htaccess> | <code htaccess | .htaccess> |