Author Topic: OWASP Modsecurity rules showing warnings and does not block anithing  (Read 81 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hi all!

Just a contribution here, after a day breaking my head!
The OWASP rules was notworking, showing only warnings in logs, nothing was blocked.
Before check file orders, configurations, I notice 2 things:

1. The slide that enables modsecurity for each domain was on (green) but no created modsecurity.conf file with SecRuleEngine On. Just Off and On the slide and file was created.
2. The directory /usr/local/apache/conf.d/modsecurity-owasp-latest/rules have 2 files .conf.example. One of those is the MORE IMPORTANT file, REQUEST-901-INITIALIZATION.conf.example. Just copy this file to REQUEST-901-INITIALIZATION.conf

Reload your apache and it's working.

Offline
*****
Re: OWASP Modsecurity rules showing warnings and does not block anithing
« Reply #1 on: September 12, 2026, 12:37:02 PM »
Now if someone would write a KB article on how to upgrade your ModSecurity & OWASP CRS ruleset...  :-X

Offline
*
Re: OWASP Modsecurity rules showing warnings and does not block anithing
« Reply #2 on: September 12, 2026, 08:32:26 PM »
Hi Starburst

The panel just update rules automatically.
Happens to m, now, the OWASPrules are updated and file become .conf.example again and stop working.

I have to rename again!



Offline
*****
Hi Starburst

The panel just update rules automatically.
Happens to m, now, the OWASPrules are updated and file become .conf.example again and stop working.

I have to rename again!

Actually, No, it doesn't updated automatically. Even thought that's what it says in the panel.