Apache Error 406

From IkonWiki

Jump to: navigation, search

Example Error Message:

 Not Acceptable
 An appropriate representation of the requested resource /index.cgi could not be found on this server.
 
 Apache/1.3.37 Server at mywebsite.com Port 80


Cause overview:

This error tends to be connected to an Apache mod_security setting. By default GET requests are scanned, the error tends to occur where the host has modified the setting so that POST requests are also scanned.


Solution:

Create a .htaccess file and put the following in the file...

 <IfModule mod_security.c>
 SecFilterScanPOST Off
 </IfModule>

...upload this file to the root directory of your board (eg. http://www.mysite.com/cgi-bin/forums).

Personal tools