Install Mod_Security On Plesk Server(Centos)
Install mod_security with YUM. This tool can prevent a lot of problems, file injections, attacks etc to apache.
# wget -q -O – http://www.atomicorp.com/installers/atomic.sh | sh
# yum install mod_security
You can get the Free Mod_Security Rules.
# cd /etc/httpd/modsecurity.d/
# wget http://downloads.prometheus-group.com/delayed/rules/modsec-2.5-free-latest.tar.gz
Extract it :
#tar -zxvf modsec-2.5-free-latest.tar.gz
Note: Make sure that 00_asl_rbl.conf, 00_asl_whitelist.conf will be uninstalled, renamed or deleted. You can disable some rules what you do not need or create problems. After you done all with your modification restart the apache.
Have a fun🙂