Filter apache-botsearch.conf now loads variables from botsearch-common.conf

pull/933/head
František Šumšal 10 years ago
parent 18778d9174
commit 705718be52

@ -19,6 +19,9 @@
# overwrite with apache-common.local if _apache_error_client is incorrect. # overwrite with apache-common.local if _apache_error_client is incorrect.
before = apache-common.conf before = apache-common.conf
# Load regexes for filtering
after = botsearch-common.conf
[Definition] [Definition]
failregex = ^%(_apache_error_client)s ((AH001(28|30): )?File does not exist|(AH01264: )?script not found or unable to stat): <webroot><block>(, referer: \S+)?\s*$ failregex = ^%(_apache_error_client)s ((AH001(28|30): )?File does not exist|(AH01264: )?script not found or unable to stat): <webroot><block>(, referer: \S+)?\s*$
@ -31,16 +34,6 @@ ignoreregex =
# Webroot represents the webroot on which all other files are based # Webroot represents the webroot on which all other files are based
webroot = /var/www/ webroot = /var/www/
# Block is the actual non-found directories to block
block = (<webmail>|<phpmyadmin>|<wordpress>)[^,]*
# These are just convient definitions that assist the blocking of stuff that
# isn't installed
webmail = roundcube|(ext)?mail|horde|(v-?)?webmail
phpmyadmin = (typo3/|xampp/|admin/|)(pma|(php)?[Mm]y[Aa]dmin)
wordpress = wp-(login|signup)\.php
# DEV Notes: # DEV Notes:

Loading…
Cancel
Save