How to disable mod_security

  1. Having 403 error page when uploading files to your directory using your CMS application like Wordpress.
  2. Upload file end up with broken link.

This might be due to mod security which are enabled on all of our hosting servers. This module is a good module which help to provide a platform for customer to have intrusion detection and prevention for web applications.


To solve this, you will need to add below line into your .htaccess file.

SecFilterScanPOST Off

Test access to your apps again and see if you able to get your apps working correctly. if this still haven't resolve, you may disable mod security completely by adding below line into your .htaccess.

SecFilterEngine Off

We suggest you to use the first option first so you will not loose the good functionalities of mod security.

Was this answer helpful?

Also Read

I'm receiving a blank page

If your website or web application is displaying nothing but a blank, white page, then chances...

How to disable mod_security in .htaccess?

Issue: Having 403 error page when uploading files to your directory using your CMS application...

Page says function not found, but the page exists

If your web application uses a function found in a particular file, but the application says that...

How can I change PHP version?

Issue: I cannot access my website. It seesm like there function that i used is not available in...

How to use PostgreSQL

PostgreSQL is an open source Relational Database Management System(RDBMS). 1. Firstly, if you...