Question
How do you tune mod_evasive?
Answer
Tuning mod_evasive to the needs of your server will help prevent legitimate traffic from being blocked. Mod evasive will log to /var/log/apache2/mod_evasive by default. If you see legitimate traffic being blocked, you will need to adjust your mod_evasive settings. The steps below cover how to do this.
- Log in to the server via SSH or WHM's Terminal as the
rootuser - Edit the
/etc/apache2/conf.d/300-mod_evasive.conffile as desired using your editor of choice -
Restart Apache:
# /scripts/restartsrv_httpd
Additional Resources
Using Terminal To Access the Command Line
Comments
0 comments
Article is closed for comments.