Performing sanity check on apache22 configuration:How do I fix this problem?
httpd: Syntax error on line 106 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"
A. First make sure you are running updated version for both Apache and mod_security. Next open your httpd.conf file:
vi /usr/local/etc/apache22/httpd.conf
Find line that read as follows:
LoadModule security2_module libexec/apache22/mod_security2.soAdd line before above directive, so that it should look like as follows:
LoadFile /usr/local/lib/libxml2.soSave and close the file. Restart apache:
LoadModule security2_module libexec/apache22/mod_security2.so
# /usr/local/etc/rc.d/apache22 restart
No comments:
Post a Comment