Knowledgebase

How to disable mod_security

Issue:
  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.
Reason:

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.

Solutions:

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.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to manage git version control ?

  How to Create a Git Repository with cPanel   Step 1 : Login to cPanel account Step 2 :...

How to disable mod_security in .htaccess?

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

My images are broken, or don't show up!

Firstly, check to see whether they are uploaded to our server and are in the correct...

How to solve PHP issue with " ini_set() has been disabled for security reasons"?

Issue: You may facing error saying that "ini_set() has been disabled for security reasons". You...

How to redirect user from none www http to www https ?

Scenario: You want to force all users/client to access your website using https instead of http....