网站在 Firefox 9.01 上出现 404 和 406 错误。
而其他浏览器如IE8、Opera 11.52、Safari 5.0.4、Chrome 16.0.912.63则无此问题,各页面均正常打开。
可能是什么问题?
关于页面的一些信息: 页面类型:PHP 存在基本的 jquery UI 代码 已启用 Google adsense。
Not Acceptable
An appropriate representation of the requested resource / 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.
为了快速引用,我添加了标签:
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
最佳答案
你应该得到自己的 charles (http://www.charlesproxy.com/) 或其他类似的网络代理,并观察你的 Firefox 和你选择的其他浏览器发送的请求,可能有一个错误的 cookie 或一些重写工作破坏您体验的场景。
如果您无法理解您的 firefox 请求中的 charles 日志的屏幕截图,可能有助于阐明这里的一些问题。
关于php - 406 和 404 错误 - 仅 Firefox 有问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8794125/