//** 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
wget http://www.gotroot.com/downloads/ftp/mod_security/2.0/apache2/apache2-gotrootrules-modsec2.0-latest.tar.gz
- 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.
-------------------------------------------------------------------------
All Done...
**< 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
wget http://www.gotroot.com/downloads/ftp/mod_security/2.0/apache2/apache2-gotrootrules-modsec2.0-latest.tar.gz
- 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.
-------------------------------------------------------------------------
All Done...
No comments:
Post a Comment