Install ModSecurity on Debian

To install ModSecurity on Debian/Ubuntu Apache web server, run

Restart Apache web server

Verify mod_security installed with

To activate ModSecurity rules, run



Get latest rules

Emable the config file

Edit file


Restart Apache


Read More…


Install ModSecurity on Debian Disable ModSecurity for a specific URL ModSecurity is a Web Application Firewall. Protect sites from SQL injection and Application level hacking. To install ModSecurity on Ubuntu/Debian with Apache, run

verify Apache module is installed with

Enable config file

Update config

Restart Apache


Read More…