Nikmatilah Ilmu dan Hargai

route

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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.