0

I've installed mod_security on openSUSE and want to make it log only.

I want absolutely no blocking or filtering of any kind.

I've created a config file as:

SecAuditEngine On
SecAuditLog /siteA/user/logs/mod.log
SecAuditLogParts ABIZ

This is logging, but I've noticed some pages elements, CSS/JS etc, are being blocked.

How do I set this for logging only ?

Thanks

Rocket
  • 103
  • 6

1 Answers1

1

What you are looking for is SecRuleEngine DetectionOnly.

Edit your /etc/modsecurity/modesecurity.conf accordingly then restart your web server.

Marco
  • 1,679
  • 3
  • 17
  • 31