CommonHTTPStatusCodes
时间:2007-07-11 来源:opbsder
Here are a few of the most common http status codes that you will see in your access log. (这里有一些最常见的http的状态的代码,你可以在access.log看到)
Code |
Message |
Description |
200 |
OK |
Content delivered normally.(内容传输正常)
|
304 |
Not Modified (修改) |
A cached copy will be used.(从缓存中复制)
|
401 |
Unauthorized |
User credentials required (Authentication) |
403 |
Forbidden |
Resource can't be viewed. (e.g. no index file and directory indexing is turned off or a Deny rule is in place)(目录禁止列表index,或没有权限访问) |
404 |
Not Found |
Resource is missing!(资源丢失) |
500 |
Internal Server Error |
The server did something wrong or the browser made a invalid request.(服务器出错或浏览器做了一个无效的请求) |
To get more details on the complete meaning of these codes and of all the other possible codes you should consult the relevant specification:
Codes |
Specification |
Most codes |
HTTP Specification RFC 2616 Section 10 |
426 |
Upgrading to TLS Within HTTP/1.1 RFC 2817 |
102, 207, 422, 423, 424, 507 |
HTTP Extensions for Distributed Authoring -- WEBDAV RFC 2518 Section 10 |
506 |
Transparent Content Negotiation in HTTP RFC 2295 Section 8 |
510 |
An HTTP Extension Framework RFC 2774 Section 7 |
Remember that, in the case of an error status code (4xx or 5xx), there will almost always be more details available in the Apache error log. See DistrosDefaultLayout if you don't know where that file is kept.