Cannot load /usr/local/libexec/apache22/mod_s…

2009-05-13 15:21:42来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

Q.I've installed Apache2 and mod_security21 under
[url=javascript:;]FreeBSD[/url]
. Whenever I try to restart apach22 process I get following error:0nAY XiYKeh#~
BSD爱好者乐园 uwe ~%_ sA&|
Cannot load /usr/local/libexec/apache22/mod_security2.so into server: /usr/local/libexec/apache22/mod_security2.soBSD爱好者乐园 _-Q3Evw.]mb
S`3@ @*Za8dcHow do I fix this problem?
D:b5t;?.D0[XX P4~ Ey
/x(E6Z8Y3Jg+TL
[/url]
BSD爱好者乐园7jz1FB~2K d6zsB
A.First make sure you are running updated version for both
[url=javascript:;]Apache
and
[url=javascript:;]mod_security[/url]
. Next open your httpd.conf file:BSD爱好者乐园 HEh"OKNK @-~
vi /usr/local/etc/apache22/httpd.conf
ELz%xTv#g,fdFind line that read as follows:BSD爱好者乐园\k)`b}"j4D[
LoadModule security2_module   libexec/apache22/mod_security2.so
[uO/U'gk,[Add line before above directive, so that it should look like as follows:BSD爱好者乐园1^K Re^YF
LoadFile /usr/local/lib/libxml2.so
LoadModule security2_module   libexec/apache22/mod_security2.soBSD爱好者乐园2A"@ W Ln
Save and close the file. Restart apache:BSD爱好者乐园n.?6?#M!hd
# /usr/local/etc/rc.d/apache22 restart
&l}~T9@eo'l1[1|0`

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4206/showart_1358983.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:系统监控:msn在线机器人实时报警

下一篇:Apache和Nginx下禁止访问*.txt文件