Tag: how to install mod_security on ubuntu 12.04

How To Set Up mod_security with Apache on Debian/Ubuntu

Installing mod_security Modsecurity is available in the Debian/Ubuntu repository: apt-get install libapache2-modsecurity Verify if the mod_security module was loaded. apachectl -M | grep –color security You should see a module named¬†security2_module (shared)¬†which indicates that the module was loaded. Modsecurity’s installation includes a recommended configuration file which has to be renamed: mv /etc/modsecurity/modsecurity.conf{-recommended,} Reload Apache service […]

Back to top