logo

Cyber Sale

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

Up To

90

%

OFF

04
DAYS
06
HOURS
00
MINUTES
17
SECONDS
Cyber Sale: Web Hosting
From £0.80 /Month!
See All Deals
×

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>