Nikmatilah Ilmu dan Hargai

route

Archive for the ‘General’ Category

exclude domain in modsec

leave a comment »

Using Apache/2.2.11 PHP 5.2.9 (cPanel) and mod_security2.

add this line after default action.
SecRule SERVER_NAME "yourdomain0.com" phase:1,nolog,allow,ctl:ruleEngine=off
SecRule SERVER_NAME "yourdomain1.com" phase:1,nolog,allow,ctl:ruleEngine=off
SecRule SERVER_NAME "yourdomain2.com" phase:1,nolog,allow,ctl:ruleEngine=off

Written by agusr

May 24, 2009 at 7:14 am

Posted in General

Follow

Get every new post delivered to your Inbox.