From 8df9a31dab58acd62b4081be1c991a7f7cc9fe6d Mon Sep 17 00:00:00 2001 From: ctot-nondef Date: Wed, 7 Feb 2024 14:35:26 +0100 Subject: [PATCH] mod_evasive config correction --- local/config/vufind/httpd-vufind.conf | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/local/config/vufind/httpd-vufind.conf b/local/config/vufind/httpd-vufind.conf index 4a9a106..0d36c58 100644 --- a/local/config/vufind/httpd-vufind.conf +++ b/local/config/vufind/httpd-vufind.conf @@ -4,15 +4,8 @@ LogFormat "%a %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combine AliasMatch ^/resources/themes/([0-9a-zA-Z-_]*)/css/(.*)$ /usr/local/vufind/themes/$1/css/$2 AliasMatch ^/resources/themes/([0-9a-zA-Z-_]*)/images/(.*)$ /usr/local/vufind/themes/$1/images/$2 AliasMatch ^/resources/themes/([0-9a-zA-Z-_]*)/js/(.*)$ /usr/local/vufind/themes/$1/js/$2 - - - Order allow,deny - Allow from all - - - Require all granted - - + + DOSHashTableSize 3097 DOSPageCount 2 DOSSiteCount 50 @@ -23,7 +16,16 @@ AliasMatch ^/resources/themes/([0-9a-zA-Z-_]*)/js/(.*)$ /usr/local/vufind/themes DOSLogDir "/var/log/mod_evasive" ## Log-Verzeichnis #DOSEmailNotify root@localhost ## E-Mail-Adresse für Benachrichtigungen DOSWhitelist 127.0.0.1 ## Lokale Anfragen zulassen. Hier kann man auch einzelne IP-Adressen ausschließen. - + + + + + Order allow,deny + Allow from all + + + Require all granted + AllowOverride All