Code:
tar xfz mod_evasive_1.10.1.tar.gz
Find the location of Apache Extension Tool (apxs) binary and perform the following.
or
Code:
find / -type f -name apxs -print
Code:
$APACHE_ROOT/bin/apxs -cia mod_evasive20.c
Configure mod_evasive for Apache Find a location of httpd.conf, and edit with the following contents.
Code:
<IfModule mod_evasive20.c>
DOSHashTableSize 3097
DOSPageCount 2
DOSSiteCount 50
DOSPageInterval 1
DOSSiteInterval 1
DOSBlockingPeriod 300
</IfModule>