0

I've installed mod-security and can see from the logs that it is warning me in the case of an SQLi attempt. The attempt succeeds however, when I expect it to be prevented. Clearly I'm missing some very obvious setting, but I can't find it!

Any help appreciated.

confusified
  • 2,320
  • 7
  • 22
  • 29

1 Answers1

2

Did you set

SecRuleEngine On

in "modsecurity.conf"? The default is

SecRuleEngine DetectionOnly

Also see https://github.com/SpiderLabs/ModSecurity/wiki/Reference-Manual#SecRuleEngine

Ronald
  • 2,864
  • 3
  • 25
  • 36