Portal Home > Knowledgebase > Articles Database > Mod_Security @inspectFile
Posted by sover, 05-19-2011, 12:34 PM Hello all. I'm new here. I'm a SysAdmin assistant at my university but I've grown in the area of mod_security to a point where there is no one above me that can help me within my university. I've run into an issue with mod_security's @inspectFile directive. What I'd like to do is have two scripts, one "reject-file.sh" script and one "scan-file.sh" script. By default, uploads to our server should be rejected unless specifically exempted, usually with a LocationMatch. However, if a location is exempted, uploaded scripts should be scanned with scan-file.sh. Currently I'm not able to achieve this. Here is what I have so far; can anyone assist me further? The idea was to have both rules and exempt users from the auto-reject like so: I can't think of anywhere else to ask this sort of question. Can any of you guys help me?
Posted by sover, 05-20-2011, 11:25 AM Hola. Anyone out there?
Add to Favourites Print this Article