apxs:Error: Command failed with rc=65536;mod_evasive;apache2

# tar -xvzf mod_evasive_1.10.1.tar.gz
# cd mod_evasive
# /usr/local/apache2/bin/apxs -c -i -a mod_evasive.c
奇怪,报错:
apxs:Error: Command failed with rc=65536
# yum install -y gcc gcc-c++ make autoconf libtool-ltdl-devel
# yum -y install binutils coreutils make dialog gcc gcc-*

# /usr/local/apache2/bin/apxs -c -i -a mod_evasive20.c 
查看README文件,其中有解释:
Three different module sources have been provided:
Apache v1.3 API: mod_evasive.c
Apache v2.0 API: mod_evasive20.c
NSAPI (iPlanet): mod_evasiveNSAPI.c *

 

================

有个参考地址:http://blog.warmcolor.net/2011/11/12/apache%E5%8D%95%E7%8B%AC%E7%BC%96%E8%AF%91mod_rewrite-error-command-failed-with-rc65536%E8%A7%A3%E5%86%B3%E5%8A%9E%E6%B3%95/

posted @ 2013-05-29 09:28  陳聽溪  阅读(682)  评论(0编辑  收藏  举报