很bt的服务器配置问题。如果访问不存在的xx.html 正常返回404,但如果访问的是php扩展名如 xx.php 就返回空白页了(状态码200)!!!!!wi

z109876543210 2015-03-11 10:36:02
很bt的服务器配置问题。如果访问不存在的xx.html 正常返回404,但如果访问的是php扩展名如 xx.php 就返回空白页了(状态码200)!!!!!win2000 php4
...全文
282 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
太久 2015-03-12
  • 打赏
  • 举报
回复
确定没用urlrewrite?
顺便发现个问题,
http://www.pyjjjc.gov.cn/index.php
这个页面一直加载
http://www.pyjjjc.gov.cn/images/upload/flv/video_file/2012-11-13/1355780688.flv
xuzuning 2015-03-11
  • 打赏
  • 举报
回复
200 表示会话正常结束了,你看看 http 头中的 Content-Length 是否为 0 如果不是就看看源代码
z109876543210 2015-03-11
  • 打赏
  • 举报
回复
如果扩展名是其它就能返回404
Request Method:GET
Status Code:404 Object Not Found
Request Headersview parsed
GET /fdsf.html HTTP/1.1
Host: www.**.cn
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: CNZZDATA3641059=cnzz_eid%3D1555000633-1425971528-%26ntime%3D1425971528; CNZZDATA3729127=cnzz_eid%3D8221776-1423233188-%26ntime%3D1426054654; _gscu_1110345123=2323328054p17o26; _gscs_1110345123=26054727zxm0t826|pv:1; _gscbrs_1110345123=1
Response Headersview parsed
HTTP/1.1 404 Object Not Found
Server: Microsoft-IIS/5.0
Date: Wed, 11 Mar 2015 06:18:45 GMT
Connection: close
Content-Length: 3733
Content-Type: text/html
z109876543210 2015-03-11
  • 打赏
  • 举报
回复
实际那文件是不存在的。也没有使用urlrewrite
Request Method:GET
Status Code:200 OK
Request Headersview parsed
GET /fdsf.php HTTP/1.1
Host: www.pyjjjc.gov.cn
Connection: keep-alive
Cache-Control: max-age=0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 5.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36
Accept-Encoding: gzip, deflate, sdch
Accept-Language: zh-CN,zh;q=0.8
Cookie: CNZZDATA3641059=cnzz_eid%3D1555000633-1425971528-%26ntime%3D1425971528; CNZZDATA3729127=cnzz_eid%3D8221776-1423233188-%26ntime%3D1426054654; _gscu_1110345123=2323328054p17o26; _gscs_1110345123=26054727zxm0t826|pv:1; _gscbrs_1110345123=1
Response Headersview parsed
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Date: Wed, 11 Mar 2015 06:13:18 GMT
X-Powered-By: ASP.NET
Connection: close
Content-type: text/html
X-Powered-By: PHP/4.3.9
z109876543210 2015-03-11
  • 打赏
  • 举报
回复
引用 1 楼 xuzuning 的回复:
200 表示会话正常结束了,你看看 http 头中的 Content-Length 是否为 0 如果不是就看看源代码
正常是返回404嘛。他返回200我就郁闷了。查漏洞的软件只认200就说是有洞。烦死了

4,251

社区成员

发帖
与我相关
我的任务
社区描述
国内外优秀PHP框架讨论学习
社区管理员
  • Framework
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧