logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

41
DAYS
19
HOURS
06
MINUTES
42
SECONDS
Black Friday Sale: Best Web Hosting
From ₹45.00 /Month!
See All Deals
×

Hostinger's Knowledge Base

Find articles and information about features, various troubleshooting guides,
and other technical information related to the Hostinger's 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>