文章标签 ‘http’

转载时请标明文章原始出处和作者信息, 作者: lostsnow.http://www.lsproc.com/blog/apache2x_name_based_virtual_hosting/
NameVirtualHost *:80

<VirtualHost *:80>
ServerName a.lostk.com
DocumentRoot e:/webserver/htdocs/a
ErrorLog e:/webserver/apache/logs/a.lost-error.log
CustomLog e:/webserver/apache/logs/a.lost-access.log common
<Directory "e:/webserver/htdocs/a">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
[...]

2007年12月10日22:59 | 没有评论

转载时请标明文章原始出处和作者信息, 作者: lostsnow.http://www.lsproc.com/blog/http-status-list/
响应码由三位十进制数字组成,它们出现在由HTTP服务器发送的响应的第一行。
响应码分五种类型,由它们的第一位数字表示:
1xx:信息,请求收到,继续处理
2xx:成功,行为被成功地接受、理解和采纳
3xx:重定向,为了完成请求,必须进一步执行的动作
4xx:客户端错误,请求包含语法错误或者请求无法实现
5xx:服务器错误,服务器不能实现一种明显无效的请求
下表显示每个响应码及其含义:
100 => "HTTP/1.1 100 Continue"
101 => "HTTP/1.1 101 Switching Protocols"
200 => "HTTP/1.1 200 OK"
201 => "HTTP/1.1 201 Created"
202 => "HTTP/1.1 202 Accepted"
203 => "HTTP/1.1 203 Non-Authoritative Information"
204 => "HTTP/1.1 204 No Content"
205 => "HTTP/1.1 205 Reset Content"
206 => "HTTP/1.1 206 Partial Content"
300 => "HTTP/1.1 300 Multiple Choices"
301 => "HTTP/1.1 301 Moved Permanently"
302 => [...]

2006年3月15日10:15 | 没有评论
标签: