Browse Source

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

pull/933/head
František Šumšal 10 years ago
parent
commit
705718be52
  1. 15
      config/filter.d/apache-botsearch.conf

15
config/filter.d/apache-botsearch.conf

@ -19,6 +19,9 @@
# overwrite with apache-common.local if _apache_error_client is incorrect.
before = apache-common.conf
# Load regexes for filtering
after = botsearch-common.conf
[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*$
@ -31,18 +34,8 @@ ignoreregex =
# Webroot represents the webroot on which all other files are based
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:
#
# Author: Daniel Black
# Author: Daniel Black
Loading…
Cancel
Save