码迷,mamicode.com
首页 > Web开发 > 详细

生产环境常见的HTTP状态码列表

时间:2014-12-31 06:26:47      阅读:158      评论:0      收藏:0      [点我收藏+]

标签:httpd apache linux服务器 状态码

生产环境常见的HTTP状态码列表

 

200 - OK,服务器成功返回网页 
    - Standard response for successful HTTP requests.

301 - Moved Permanently(永久跳转),请求的网页已永久跳转到新位置。
    - This and all future requests should be directed to thegiven.

403 - Forbidden(禁止访问),服务器拒绝请求
    - forbidden request (matches a deny filter) => HTTP 403
    - The request was a legal request, but the server isrefusing to respond to it.

404 - Not Found,服务器找不到请求的页面。
    - The requested resource could not be found but may beavailable again in the future.

500 - Internal Server Error(内部服务器错误)
    - internal error in haproxy => HTTP 500
    - A generic error message, given when no more specificmessage is suitable.

502 - Bad Gateway(坏的网关),一般是网关服务器请求后端服务时,后端服务没有按照http协议正确返回结果。
    - the server returned an invalid or incomplete response=> HTTP 502
    - The server was acting as a gateway or proxy and receivedan invalid response from the upstream server.

503 - Service Unavailable(服务当前不可用),可能因为超载或停机维护。
    - no server was available to handle the request => HTTP503
    - The server is currently unavailable (because it isoverloaded or down for maintenance).

504 - Gateway Timeout(网关超时),一般是网关服务器请求后端服务时,后端服务没有在特定的时间内完成服务。
    - the server failed to reply in time => HTTP 504
    - The server was acting as a gateway or proxy and did notreceive a timely response from the upstream server.

 


本文出自 “Study-Everyday” 博客,请务必保留此出处http://studys.blog.51cto.com/9736817/1597945

生产环境常见的HTTP状态码列表

标签:httpd apache linux服务器 状态码

原文地址:http://studys.blog.51cto.com/9736817/1597945

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!