[Modsecurity] invalid regular expression in rules.conf

Michael Shinn mike at gotroot.com
Sun Aug 6 17:49:12 EDT 2006


Thank you for the report.  This should only effect users running apache 1.x,
who are not using the PCRE regexp engine (I highly recommend you use the
PCRE engine if you are running apache 1.x, as the 1.x built in engine is
very slow).  I'll move this to the apache-2 only ruleset later tonight.

Thanks again for the report.

-----Original Message-----
From: modsecurity-bounces at gotroot.com
[mailto:modsecurity-bounces at gotroot.com] On Behalf Of Paulo Cunha
Sent: Saturday, August 05, 2006 8:51 AM
To: modsecurity at gotroot.com
Subject: [Modsecurity] invalid regular expression in rules.conf

Hello all,

I'm not sure if I'm the only one but the rules.conf file updated two
days ago (3rd of August?) doesn't work on my box with this error:

Syntax error on line 395 of /etc/modsecurity/rules.conf:
Invalid regular expression: \;\x20+?perl\x20+[A-Za-z|0-9]+;


I had to remove that line to make apache run.


Regarding the regex, could we be missing a \ before the last ; ?

Thanks,


paulo

_______________________________________________
Modsecurity mailing list
Modsecurity at gotroot.com
http://lists.gotroot.com/mailman/listinfo/modsecurity



More information about the Modsecurity mailing list