|
[solved] erratic http error code: msg#00132apache.mod-security.user
Felix Nawroth wrote: >> !! SecDefaultAction log,auditlog,deny,status:400,\ >> !! phase:2,t:lowercase,t:replaceNulls,t:compressWhitespace >> !! >> !! <Location "/spanien/guest/guest.php"> >> !! SecRule ARGS "http"\ >> !! >> "deny,log,id:66023,severity:5,msg:'Spam',exec:/etc/modsecurity/ip-blacklist.pl" >> !! </Location> OK, I've solved it by redefining a status:400 in the rule. I had tried that earlier without success, don't know what I'm doing different now. So the status set in SecDefaultAction is not inherited into a Location, it seems. I've also tried it with "SecRuleInheritance On", still the same. This isn't mentioned in the manual, perhaps Ivan could add it? Regards, Felix ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Invalid command 'SecFilterEngine': 00132, Dan Rossi |
|---|---|
| Next by Date: | Re: secRuleRemoveById not working: 00132, Ofer Shezaf |
| Previous by Thread: | Re: erratic http error codei: 00132, Felix Nawroth |
| Next by Thread: | Re: [solved] erratic http error code: 00132, Ivan Ristic |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |