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>

 

  • Free Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
From
RM
5
49
/mo
Save 82%
Let's go!