disable mod security for single domain.

disable mod security for single domain.

Steps :

1)Login to server as root.

2)Open mod security file.

vi /usr/local/apache/conf/modsec2.conf

3) put below line at end

SecRule SERVER_NAME “cpanelblog.in” phase:1,nolog,allow,ctl:ruleEngine=off

Note : replace cpanelblog.in domain with your domain.

4) Save and exit

5) Restart apache service.

 

 

 

Both comments and pings are currently closed.

Comments are closed.