This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
apache [2010/10/31 01:04] k2patel |
apache [2011/02/05 22:23] k2patel |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Apache Related Quick Help ====== | ====== Apache Related Quick Help ====== | ||
* [[ mod_evasive | DDOS Prevention module]] | * [[ mod_evasive | DDOS Prevention module]] | ||
+ | * [[ Error Codes | HTTP Error Codes ]] | ||
==== Compile apache from source ==== | ==== Compile apache from source ==== | ||
Line 157: | Line 158: | ||
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 173: | ||
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> |