用
http://www.seoconsultants.com/tools/headers/
检测:http://www.A.com/ddddd.htm(此文件不存在,名随便给的)
(.htm已映射到aspnet_isapi.dll)显示如下信息:
Requesting: http://www.A.com/ddddd.htm
GET /ddddd.htm HTTP/1.1
Connection: Keep-Alive
Keep-Alive: 300
Accept:*/*
Host: www.A.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
Server Response: 302 Found
Date: Sun, 25 Mar 2007 03:21:50 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /showurl.aspx?aspxerrorpath=/ddddd.htm
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 171
Redirecting to http://www.A.com/showurl.aspx?aspxerrorpath=/ddddd.htm ...2. Requesting: http://www.A.com/showurl.aspx?aspxerrorpath=/ddddd.htm
GET /showurl.aspx?aspxerrorpath=/ddddd.htm HTTP/1.1
Connection: Keep-Alive
Keep-Alive: 300
Accept:*/*
Host: www.A.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
Server Response: 301 Moved Permanently
Date: Sun, 25 Mar 2007 03:21:50 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: http://www.A.com
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 129
Redirecting to http://www.A.com ...3. Requesting: http://www.A.com
GET / HTTP/1.1
Connection: Keep-Alive
Keep-Alive: 300
Accept:*/*
Host: www.A.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
Server Response: 200 OK
Date: Sun, 25 Mar 2007 03:21:52 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 80605 以上显示,利用asp.net的<customErrors mode="On">做返回代码!
第一步返回的都是302代码!第二步才会返真实的代码!
这样有影响吗?
http://www.seoconsultants.com/tools/headers/
检测:http://www.A.com/ddddd.htm(此文件不存在,名随便给的)
(.htm已映射到aspnet_isapi.dll)显示如下信息:
Requesting: http://www.A.com/ddddd.htm
GET /ddddd.htm HTTP/1.1
Connection: Keep-Alive
Keep-Alive: 300
Accept:*/*
Host: www.A.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
Server Response: 302 Found
Date: Sun, 25 Mar 2007 03:21:50 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: /showurl.aspx?aspxerrorpath=/ddddd.htm
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 171
Redirecting to http://www.A.com/showurl.aspx?aspxerrorpath=/ddddd.htm ...2. Requesting: http://www.A.com/showurl.aspx?aspxerrorpath=/ddddd.htm
GET /showurl.aspx?aspxerrorpath=/ddddd.htm HTTP/1.1
Connection: Keep-Alive
Keep-Alive: 300
Accept:*/*
Host: www.A.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
Server Response: 301 Moved Permanently
Date: Sun, 25 Mar 2007 03:21:50 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Location: http://www.A.com
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 129
Redirecting to http://www.A.com ...3. Requesting: http://www.A.com
GET / HTTP/1.1
Connection: Keep-Alive
Keep-Alive: 300
Accept:*/*
Host: www.A.com
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)
Server Response: 200 OK
Date: Sun, 25 Mar 2007 03:21:52 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html; charset=utf-8
Content-Length: 80605 以上显示,利用asp.net的<customErrors mode="On">做返回代码!
第一步返回的都是302代码!第二步才会返真实的代码!
这样有影响吗?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货