Knowledgebase

How to disable mod_security in .htaccess file

  1. If you do not have one yet, an .htaccess file in the folder of your web application
  2. To disable mod_security COMPLETELY, add the following line to the .htaccess file:
    SecFilterEngine Off
    OR, to disable HTTP POST scanning only, use the following instead:
    SecFilterScanPOST Off
  3. Save the file and test your web application to check whether disabling mod_security has solved your problem.


Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
How to parse html as php (Views: 1700)

Powered by WHMCompleteSolution

Language: