Brian Rectanus | 2 Apr 01:49

Re: rules problem mod_security2

Try a quick search for that error in the archives:

http://sourceforge.net/search/?group_id=68846&words=Unknown+variable%3A+XML&type_of_search=mlists&pmode=0&limit=50

Basically, you did not compile with XML support.

-B

Brent wrote:
> I installed apache 2.2.8 & mod_security2-2.1.6 using only the CORE rules
> that
> came with the install..everything seemed to go well untill i went to start
> apache i got:
> 
> Syntax error on line 64 of
> /usr/local/etc/apache22/Includes/mod_security2/modsecurity_crs_20_protocol_violations.conf:
> Error creating rule: Unknown variable: XML
> 
> I removed the file & restarted apache & I got the same error for file
> modsecurity_crs_40_generic_attacks.conf line 32 Error creating rule: Unknown
> variable: XML
> 
> I removed that file then apache fired up using the remaining rules. Is there
> someplace i can replace those files with ones that will work ? Or is there
> some change to those files that is needed ? Help..thanx in advance.
> 
> modsecurity_crs_20_protocol_violations.conf
> modsecurity_crs_40_generic_attacks.conf
> 
> 
(Continue reading)


Gmane