Knowledge base

Find articles and information about all features, troubleshooting guides,
and other technical information on Hostinger's hosting services.

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>