HTTP 404是什么意思? [英] What does HTTP 404 mean?

查看:50
本文介绍了HTTP 404是什么意思?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

此错误是什么意思?

HTTP404.您正在寻找的资源(或其依赖项之一)可能已被删除,名称更改或暂时不可用.请查看以下URL,并确保其拼写正确.

HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.

推荐答案

来自HTTP规范:

10.4.5 404未找到

服务器未找到任何内容匹配Request-URI.不指示是否条件是暂时的或永久的....此状态码通常是在服务器不希望使用时使用确切说明请求的原因被拒绝,或者没有其他人被拒绝响应是适用的.

The server has not found anything matching the Request-URI. No indication is given of whether the condition is temporary or permanent. ... This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable.

...因此服务器很可能没有(或找不到)您要的文件.

... so it's likely that the server doesn't have (or can't find) the file you're asking it for.

如果您认为该文件应该存在(即,您控制服务器并创建了文件):

If you think that the file should be there (i.e. you control the server, and you created the file):

  • 您在URL中指定的路径错误
  • 您的URL重新映射代码可能无法正常工作
  • 可能有一些配置选项阻止服务器查找文件.

这篇关于HTTP 404是什么意思?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆