Re: Exempt an argument from inspection in libmodsecurity

Walter Hop <[email protected]>
Newsgroups gmane.comp.apache.mod-security.user
Message-ID <[email protected]>
On 22 Jul 2018, at 12:50, Ehsan Mahdavi <[email protected]> wrote:
> 
> How do I totally exempt an argument from inspection? For example I need to exempt ARGS:FOO from matching with any rule.

I usually use a syntax like this:

SecAction \
    "id:12345,phase:1,t:none,nolog,pass,\
        ctl:ruleRemoveTargetByTag=.*;ARGS:foo"

WH

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
mod-security-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mod-security-users
Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs:
http://www.modsecurity.org/projects/commercial/rules/
http://www.modsecurity.org/projects/commercial/support/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.