Scott Galambos

Well-Known Member
Jul 13, 2016
128
9
68
Canada
cPanel Access Level
Root Administrator
I have a cPanel v94.0.11 server with Apache. It has mod_evasive for some rate throttling. It works fine.

I simply need to know how to disable mod_evasive for a single website. I don't need to whitelist an external IP. I want to somehow have anything incoming to a specific domain I host to not be mod-evasive'd. Can I turn it off in the addon domains .htaccess?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
15,235
2,422
363
cPanel Access Level
Root Administrator
Hey there! Unfortunately this isn't possible. According to the creators of that module here:


"No. mod_evasive is an apache module, it sets global limits based on your configuration for the server to protect the server from DOS attacks. Disabling it for a domain or vhost would make it possible, via a DOS attack, to bring the whole server down. This modules job is protect your server."

I'm sorry I don't have better news on that one for you.