I'm trying to exclude CSS and JS files from a certain ModSecurity rule and have not met with success with the following entered in my crs_69_customrules.conf:

<FilesMatch "\.(css|js)$">
SecRuleRemoveById ######
</FilesMatch>

Am I completely off the mark thinking the FilesMatch directive should work in this context? Is there something else wrong with my syntax?

link|improve this question
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.