For those who are looking for a solution to HTTP Error 406 when dealing with FCKEditor... I've got your fix.
For example, see: http://fckeditor.biz/viewtopic.php?f=7&t=1125
... an example of the problem "I get a weird 406 error when clicking on Submit in FCKEditor".
The problem is actually not FCKEditor at all (at least in my case).
There are two problems that I ran into with my Apache 2.0 installation.
Problem 1: mod_negotiation was doing some weird crap in the background that interferes with FCKeditor's processing.
Problem 2: mod_security has a javascript injection XSS vulnerability check that trips during FCKEditor's posting process:
.... mod_security: Access denied with code 406. Pattern match "<(.|\\\\n)+>" at POST_PAYLOAD [severity "EMERGENCY"] [hostname "www.localhost.com"] [uri "/fckeditor/_samples/php/sampleposteddata.php"]
I had to disable both mod_negotiation and alter a line in my mod_security configurations. I'm not 100% happy about altering mod_security configs and am currently doing some research to work around that. However, this is the solution that I was able to find for FCKEditor (which doesn't have a problem per se).
I found this by reading my log files and using Google.
Hope this helps everyone else out there with this problem.
Fri, 12/19/2008 - 12:37
#1