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 check your bandwidth usage in cPanel?

Bandwidth devices reads the traffic data that can be displayed in graph. Bandwidth usage is a sum...

What are error pages?

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

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

My website is running slow

If you are using a forum or content management system, make sure that caching is enabled. Caching...

How do I configure hotlink protection?

Login to cPanel. Locate and click on the "Hotlink Protection" icon within the "Security"...