Home > Cpanel Basics > How To Disable mod_security2 for a domain

How To Disable mod_security2 for a domain

February 6th, 2009

We can disable mod security for a domain, add following lines to virtual host entry.

vi /usr/local/apache/conf/httpd.conf

find the domain virtualhost entry and add

<IfModule mod_security2.c>

SecRuleEngine off

</IfModule>

save and exit

service httpd restart

Cpanel Basics

  1. No comments yet.
  1. No trackbacks yet.