diff --git a/apache/files/evolinux-custom.conf b/apache/files/evolinux-custom.conf index def69d90..397f351b 100644 --- a/apache/files/evolinux-custom.conf +++ b/apache/files/evolinux-custom.conf @@ -3,3 +3,8 @@ #StartServers 100 #MinSpareServers 40 #MaxSpareServers 60 + +SetEnvIf User-Agent "^BadBot$" GoAway=1 +SetEnvIf User-Agent "Nutch" GoAway=1 +SetEnvIf User-Agent "ApacheBench" GoAway=1 + diff --git a/apache/files/evolinux-defaults.conf b/apache/files/evolinux-defaults.conf index 511396e5..9eba4f6e 100644 --- a/apache/files/evolinux-defaults.conf +++ b/apache/files/evolinux-defaults.conf @@ -12,4 +12,5 @@ MaxRequestsPerChild 0 AllowOverride None Require all granted + Deny from env=GoAway