UNIX BLOG

Blog for NIX system based administrators

how to install anti-dos mod_evasive centos 5

Желательно использовать модуль mod_evasive совместно с nginx.

Nginx будет обрабатывать статические запросы, а mod_evasive фильтровать тяжелые пхп запросы для апаче.

Подключаем epel репозиторий, где и хранится mod_evasive
wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

устанавливаем:

yum install mod_evasive

Редактируем конфиг

nano /etc/httpd/conf.d/mod_evasive.conf

 

 

 

Tags: , ,


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>