mod_security rule question.

Hello,

Can I Do the following:

1) If I've a File , for example called www.domain.com/signup.php


and i want to turn (SOME) of the rule off for (I.E: passwd) this file/page
ONLY and to not affect other sites etc .

for example if i want to do this for all rule for this page on all site i
can do :

<Location /*/signup.php>

SecFilterInheritance Off

</Location>

But what if i want to disable a specific rule in a specific file on a
specific domain/user ??

for example i want to disable rule" secfilter "passwd" in file signup.php
for the site: domain.com (it's user: domain)

What is the correct syntax for this please ?


<Location domain.com/signup.php> ( or /home/domain/public_html/signup
php)

SecFilter "wget"

SecFilterInheritance Off

</Location>


** I Know that it's wrong , just to express my question...

I Hope that you can help me in this .

Thanks In Advance .

 

 

 

 

Top