存档

文章标签 ‘服务器’

服务器header信息查询的一个工具

2010年4月30日 没有评论

在研究服务器端架构的时候,想查询下百度、网易、sina等公司的服务器都用的什么。于是就简单些了个小工具。

工具地址:http://www.gosoa.com.cn/doc/curl/

下面是查到的百度 sina  163  sohu  服务器的简要信息:

http://www.baidu.com 服务器信息如下:

HTTP/1.1 200 OK
Date: Fri, 30 Apr 2010 08:13:32 GMT
Server: BWS/1.0
Content-Length: 1828
Content-Type: text/html;charset=gb2312
Cache-Control: private
Expires: Fri, 30 Apr 2010 08:13:32 GMT
Content-Encoding: gzip
Set-Cookie: BAIDUID=4EBA2A48B85FC5E52EEE699D0A3A20DF:FG=1; expires=Fri, 30-Apr-40 08:13:32 GMT; path=/; domain=.baidu.com
P3P: CP=” OTI DSP COR IVA OUR IND COM ”

http://www.sohu.com 服务器信息如下:

HTTP/1.0 200 OK
Date: Fri, 30 Apr 2010 08:13:19 GMT
Server: Apache/1.3.39 (Unix) mod_gzip/1.3.26.1a
Vary: Accept-Encoding,X-Up-Calling-Line-id,X-Source-ID,X-Up-Bearer-Type
Cache-Control: max-age=70
Expires: Fri, 30 Apr 2010 08:14:29 GMT
Last-Modified: Fri, 30 Apr 2010 08:09:46 GMT
Content-Type: text/html
X-Cache: MISS from 19409316.22686337.34879013.sohu.com
Via: 1.0 19409316.22686337.34879013.sohu.com:80 (squid)
Connection: close

http://www.sina.com 服务器信息如下:

HTTP/1.0 301 Moved Permanently
Date: Fri, 30 Apr 2010 07:17:08 GMT
Server: Apache/2.0.63 (Unix)
Location: http://www.sina.com.cn/
Cache-Control: max-age=3600
Expires: Fri, 30 Apr 2010 08:17:08 GMT
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 191
Content-Type: text/html; charset=iso-8859-1
Age: 3388
X-Cache: HIT from xa66-68.sina.com.cn
Connection: close

http://www.qq.com 服务器信息如下:

HTTP/1.0 200 OK
Server: nginx/0.6.39
Date: Fri, 30 Apr 2010 08:07:55 GMT
Content-Type: text/html; charset=GB2312
Vary: Accept-Encoding
Expires: Fri, 30 Apr 2010 08:22:55 GMT
Cache-Control: max-age=900
Vary: Accept-Encoding
Content-Encoding: gzip
Age: 337
X-Cache: HIT from rainny.qq.com
Via: 1.0 rainny.qq.com:80 (squid/2.6.STABLE5)
Connection: close

http://www.163.com 服务器信息如下:

HTTP/1.0 200 OK
Server: nginx
Date: Fri, 30 Apr 2010 08:13:32 GMT
Content-Type: text/html; charset=GBK
Vary: Accept-Encoding
Expires: Fri, 30 Apr 2010 08:14:52 GMT
Cache-Control: max-age=80
Vary: User-Agent
Vary: Accept
Content-Encoding: gzip
X-Cache: MISS from cache.163.com
Connection: close

分类: PHP开发 标签: ,