Mod Security – 1
Mod Security Kurulumu
wget http://www.modsecurity.org/download/modsecurity-apache_1.9.4.tar.gz
tar -zxf modsecurity-apache_1.9.4.tar.gz
cd modsecurity-apache_1.9.4
cd apache2/
yum install httpd-devel
/usr/sbin/apxs -cia mod_security.c
cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf-mod_sec
nano -w /etc/httpd/conf/httpd.conf
İçerisinde “LoadModule security_module /usr/lib/httpd/modules/mod_security.so” satırı bulunur ve altına
http://www.eth0.us/mod_security sayfasındaki —-Ruleset—- arasındaki komutlar eklenir
CTRL+X Y ENTER
service httpd restart
Aralık 16th, 2009 in
Linux