Flash FileReference. Uploading behind a proxy error
When your browser connects to the internet through a proxy and you try to upload using FileRefence you might get an IOError or a 406 http not acceptable error. I say ‘might’ because not all OS browser combinations trigger this error. On Windows/Firefox you will probably get an authentication popup to enter the proxy username and password, but on Mac/Firefox you will get the 406 error.
Anyways if you try searching the net, there are several threads that ask about this proxy error but no answers. I finally found a blog post that had a solution in one of the comments. From Coding Cowboys.
Add to your .htaccess file:
SecFilterEngine Off
SecFilterScanPOST Off
or:
<IfModule mod_php4.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Beware that this will disable the Apache ModSecurity module for that folder.
I just saw that the Adobe livedocs upload reference also has a comment by: log2e, regarding the 403 and 406 errors.
2 comments May 1st, 2008