Knowledge base

Find information within our custom articles about Hostinger's features
and all information relating to hosting practices.

How to disable mod_security?

Modified on:
mod security disable mod security turn off mod secuir

Mod_security can be easily disabled with the help of .htaccess. Here's the code that you will need to add to turn it off:

<IfModule mod_security.c>
  SecFilterEngine Off
  SecFilterScanPOST Off
</IfModule>