Tema: Re: Freebsd 7.0+ mod_security2
Autorius: alex sysmonk
Data: 2008-04-03 21:44:50
Antanas Atlaikytas wrote:
> Sveiki,
> 
> Freebsd 7.0 is portu apache 2.2.8 + mod_security2 bandant paleidinet
> apache gaunamas erroras:
> server1# /usr/local/sbin/apachectl start
> 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


http://www.freebsd.org/cgi/query-pr.cgi?pr=122364&cat=

Grubiai tariant - cd /usr/ports/www/apache22/ && \
make -DWITH_LIBXML2 install clean

arba replace'ink visus "|XML:/*" modsecurity_*.conf'uose
i.e. sed -Ie "s#|XML\:\/\*##g"
/usr/local/etc/apache22/Includes/mod_security2/modsecurity_*.conf