Stop worrying about your server.
cPanel Server Management for just $59/mo with Unlimited tickets, Unlimited admin hours, Security audits, 24×7 monitoring and lot more
Disable mod security for a single domain in cPanel:
You can disable mod security for a single domain in cPanel server, For that you need to whitelist the domain in mod security configuration,
The mod security configuration file is,
For disabling it for a domain, first you need to open the configuration file and add the white list file,
and add the following line to the conf file,
Include vi /usr/local/apache/conf/modsec2.whitelist.conf
After that you need to edit the file,
add the following lines to the file,
SecRule SERVER_NAME “domain.com” phase:1,nolog,allow,ctl:ruleEngine=off SecRule SERVER_NAME “example.com” phase:1,nolog,allow,ctl:ruleEngine=off
Don’t forget to replace the domain name field with your domain name.
Now save the file and restart apache.
It should be done now.
Need our help to fix the issue ? Submit Support Ticket Now
[button size=”large” color=”green” title=”Server Administration Services from Stack Supports” link=”http://iserversupport.com/server-support-products/server-security/”]View Server Administration Packages[/button]