仅在萤火虫上出现406错误 [英] 406 error on firebug only
问题描述
我正在使用此人的脚本
A.值 http://valums.com/ajax-upload/
一切都很好,直到文件上传完成,并且在萤火虫上出现406错误(仅).当我右键单击Firebug上的链接并在新窗口中打开时,该文件确实存在,并且符合我的期望.
Everything is fine until the file has finished uploading and i get a 406 error on the firebug(ONLY). when i right click the link on firebug and open in new window, the file does exist and does what i expect it to do.
萤火虫的页面上显示
Not Acceptable
An appropriate representation of the requested resource upload.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
但是当我在新标签页上看到该页面时,它可以正常工作并返回正确的内容,该脚本在A. Valums上具有ajax请求btw
but when i see the page on a new tab it works fine and returns the right thing, that script on A. Valums has ajax requests btw
更新
Host www.example.com
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-gb,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
Content-Type application/octet-stream
Referer http://www.example.com
Content-Length 192378
Cookie
推荐答案
这是服务器错误.需要禁用"mod_security",我不知道这是什么,但请询问您的托管服务提供商,他们应该知道如果您遇到问题,请使用它:)
It was a server error.something called "mod_security" which needs to be disabled and I have no clue what it is but ask your hosting provider they should know about it if you experience the problem :)
这篇关于仅在萤火虫上出现406错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!