Hi
I I’m running mod_security 2.6.8, I’ve also tried 2.7.7 and received the same error.
Apache doesn’t like cwaf_05.conf in latest rules, 1.12
If I comment out the specific rules it runs fine.
See below.
I saw a note in a previous thread about adding the following lines to my modsecurity.conf
SecPcreMatchLimit 150000
SecPcreMatchLimitRecursion 150000
but it didn’t make any difference.
[root@dev01 cwaf]# apachectl configtest
Syntax error on line 67 of /etc/httpd/cwaf/cwaf_05.conf:
Error creating rule: Error compiling pattern (offset 0): regular expression too large
[root@dev01 cwaf]# apachectl configtest
Syntax error on line 475 of /etc/httpd/cwaf/cwaf_05.conf:
Error creating rule: Unknown variable: MULTIPART_FILENAME
Any tips?