Introduction
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.
Procedure
- Log in to the server via SSH, or access the Terminal from WHM.
- Edit the /etc/apache2/conf.d/300-mod_evasive.conf file as desired using your editor of choice. Examples:
vim /etc/apache2/conf.d/300-mod_evasive.conf
nano /etc/apache2/conf.d/300-mod_evasive.conf
- Restart Apache.
/scripts/restartsrv_httpd
Additional Resources
Using Terminal To Access the Command Line
Comments
0 comments
Article is closed for comments.