how to disable modsec rule for a single domain in DA

Community support forums for the free/delayed modsecurity rules feed. There is no such thing as a bad question here as long as it pertains to using the delayed modsecurity rules feed. Newbies feel free to get help getting started or asking questions that may be obvious.
TheMask
New Forum User
New Forum User
Posts: 1
Joined: Tue Jan 10, 2012 5:29 pm
Location: TR

how to disable modsec rule for a single domain in DA

Unread post by TheMask »

how to disable modsec rule for a single domain in Directadmin

how can i do that?

i dont want to disable rule for all users like that
<LocationMatch /lynadmin/>
SecRuleRemoveById 340147 340162
</LocationMatch>

can disable for only one domain?

i found this document http://atomicorp.com/wiki/index.php/Mod_security
but i think it doesnt work with DA panel
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4149
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: how to disable modsec rule for a single domain in DA

Unread post by mikeshinn »

If you have ASL installed with DA that works just fine, in fact you just open the rule manager GUI and setup your vhosts anyway you want. Couldnt be easier.

If you don't have ASL, then you have to manually change your vhost files and add in your excludes there.
Post Reply