LoadModule evasive_module extramodules/mod_evasive.so
# Set size of hash table
DOSHashTableSize 3097
# Set maximum page hit count per interval
DOSPageCount 2
# Set maximum site hit count per interval
DOSSiteCount 50
# Set page interval
DOSPageInterval 1
# Set site interval
DOSSiteInterval 1
# Set blocking period for detected DoS IPs
DOSBlockingPeriod 10
# Set email notification
#DOSEmailNotify root@localhost
# Set log dir
DOSLogDir /tmp
# Set system command on DoS
#DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
# IP-addresses wildcards to whitelist
#DOSWhitelist