php - 406 和 404 错误 - 仅 Firefox 有问题?

标签 php javascript html http firefox

网站在 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/

相关文章:

javascript - Ajax 调用报告弹出窗口的父级

php - Web 应用程序需要最低浏览器版本

javascript - Lightbox2 下一个箭头在组的第一个图像之后消失

javascript - 在 javascript 中很难将焦点设置在新创建的对象上

javascript - 滚动到目标部分时更改按钮的颜色

html - 如何 float 不同高度的div?

javascript - 网页上不稳定的动画幻灯片背景

php - 如何在 PHP 中获取关联数组中的前 n 个键?

php - Laravel 5.6 如何在 json 响应中保留 float 和 int 值?

php - PHP 5.3 中++ 运算符的奇怪行为