--with-bz2 \
--with-zlib \
--with-gd \
--with-kerberos \
--with-gettext \
--enable-force-cgi-redirect \
--with-iconv \
--enable-gd-native-ttf \
--enable-sockets \
--with-snmp \
--enable-ucd-snmp-hack
--with-bz2 \
--with-zlib \
--with-gd \
--with-kerberos \
--with-gettext \
--enable-force-cgi-redirect \
--with-iconv \
--enable-gd-native-ttf \
--enable-sockets \
--with-snmp \
--enable-ucd-snmp-hack
$ make
# make install
安装modsecurity(mod_security 可以加强apache的安全性特别是在防sql 注入上。
$ tar zxvf modsecurity-apache-1.9.tar.gz
$ cd modsecurity-apache-1.9/apache2/
$ /apache2/bin/apxs -cia mod_security.c
$/usr/local/apache-