View Full Version : mod security exclude list.
gabrix
20th October 2006, 16:47
i have a bunch of mod security directives anti xxs etc.because i work with joomla and mambo there is also an exclude file where a directive 'SecFilterRemove' should allow me to work with this cms but ...
Invalid command 'SecFilterRemove', perhaps mis-spelled or defined by a module not included in the server configuration ... this is the error i get !What's the right directive to exclude in mod security ... ????:D
falko
21st October 2006, 22:18
Where exactly did you put the SecFilterRemove directive?
gabrix
22nd October 2006, 06:18
i used an include /etc/apache2/conf.d/modsecurity.conf
file and these are the codes:
#generic PHP forum posting exclusion
<LocationMatch "/posting.php">
SecFilterRemove 300013
</LocationMatch>
#PhpMyadmin
<LocationMatch "/tbl_change.php">
SecFilterRemove 300016
</LocationMatch>
#/xde/managecontent.php
<LocationMatch "/xde/managecontent.php">
SecFilterRemove 300016
</LocationMatch>
falko
23rd October 2006, 18:02
I've found this on http://www.g-loaded.eu/2006/08/24/modsecurity-overview/ :
SecFilterRemove
This directive is the exact opposite of SecFilterImport. It has a meaning only if SecFilterInheritance has not been disabled in a particular context and works only for filters that have not been marked for mandatory inheritance (see below). It accepts a space-delimited list of rule IDs and can be used to explicitly disable inherited filters.
Maybe you broke one of these rules?
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.