//** Just follow the given instruction Given below //** :--
**< // make sure that you have compiled apache with mod security // >
------------------------------ --********----------------------- -------------
- cd /usr/local/apache/conf;mkdir modsecurity;cd modsecurity;
- browse the url http://gotroot.com/ and choose tar file "All in one downloads for modsec 2.0-2.1" and wget it.
It will dowload all rules for mod seurity.
go to - /usr/local/apache/conf/ modsecurity and wget the rules
- nano /usr/local/apache/conf/modsec. conf
search line start with "include"
delete that line and add line as below-
Include "/usr/local/apache/conf/ modsecurity/*.conf"
- service httpd restart .
*************************************************************
No comments:
Post a Comment