What does "406 Not Acceptable" mean?

Most likely, you are reading this article because you received an "Access Denied" error or a "406 Not Acceptable" error message. This general error means the request you made was detected as a potential hack attempt to the server.

To protect our servers and our customers, we block certain requests that are known to be bad, however this also means that we could accidently block legit requests as well.

The biggest false positive we see are when people use the ".." line in a URL path to go back a certain directory.  That method is commonly used to try to access system files such as the password file so it is blocked by default.  If you need to access a file in a previous directory, the best way to access it is to use the full path of the directory, for example: /home/username/public_html/file.html instead of "../file.html".

We also give the customers the ability to turn off this security protection if it becomes too much of a hassle for your script.   You can disable it by creating an .htaccess in your public_html directory and have the following line"SecFilterEngine Off" in it.  We strongly encourage you not to disable the security protection unless it's an absolute requirement.

Lastly, if you're not sure why you are getting blocked but don't want to disable the security protection, please contact our technical support team with your IP (You can get it at http://ip.aryanict.com) and we'll see if we can work with you to get it resolved.

  • 10 Users Found This Useful
Was this answer helpful?

Related Articles

Run OPTIMIZE TABLE to defragment tables for better performance

For this suggestion:Run OPTIMIZE TABLE to defragment tables for better performanceRun this...

How to clear Error Log of a cPanel Account.

User the below code to clear Error Log:Replace User with Username:Code:for i in `find...

What is php.ini ?

The php.ini file and changing PHP Settings The php.ini file is a special file for PHP and...

How to fix ini_set() has been disabled for security reasons

1. Create php.ini file inside your public_html folder, OR the folder in which you have...

How to fix Fatal error: Uncaught exception 'Exception' with message 'DateTimeZone:

1: Create .htaccess file inside your public_html folder, OR the folder in which you have...