Apache新编译模块:(以mod_evasive为例)
wget http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz
tar xzvf mod_evasive_1.10.1.tar.gz
cd mod_evasive
Apache路径/bin/apxs -cia mod_evasive20.c
此时httpd.conf文件中已经自动添加了该模块:LoadModule evasive20_module modules/mod_evasive20.so