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.


Was this answer helpful?

Also Read

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...

What are error pages?

Error pages are the pages displayed when a user tries to access a location on your site and...

How to install WordPress by using Plesk

Step 1 Login to the Plesk Panel. Then, from the hosting servers menu that located in the left,...

How to register or buy hosting?

1)      Login into our website, myduniahosting.com. Click on “LOGIN”. 2)      Then click on...

How to manage git version control ?

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