Tema: Re: Freebsd 7.0+ mod_security2
Autorius: Antanas Atlaikytas
Data: 2008-04-06 18:52:42
Antanas Atlaikytas wrote:
> alex sysmonk wrote:
>> 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
> 
> make -DWITH_LIBXML2 install clean padejo iki kito erorro:
> 
> server1# /usr/local/sbin/apachectl start
> httpd: Syntax error on line 104 of /usr/local/etc/apache22/httpd.conf: 
> Cannot load /usr/local/libexec/apache22/mod_security2.so into server: 
> /usr/local/libexec/apache22/mod_security2.so: Undefined symbol "xmlFree"
> 
> 
> 

pasirodo LoadFile /usr/local/lib/libxml2.so reikejo datedi pries 
LoadModule security2_module modules/mod_security2.so o ne po.

dirba dekui.