VPS侦探论坛

 找回密码
 注册
查看: 4637|回复: 1

lnmp设置404成功,但用工具查询返回200而不是404

[复制链接]
发表于 2012-3-24 10:32:00 | 显示全部楼层 |阅读模式

lnmp设置404成功,但用工具查询返回200而不是404
按照论坛里的设置,已经成功返回404页面
但是用相关查询返回200
HTTP/1.1 200 OK
Server: nginx/1.0.10
Date: Sat, 24 Mar 2012 02:24:23 GMT
Content-Type: text/html
Last-Modified: Sat, 24 Mar 2012 02:08:42 GMT
Connection: keep-alive
Vary: Accept-Encoding
Content-Encoding: gzip

我也查了https://bbs.vpser.net/klksa.html随便一个地址返回的是404
是不是我哪里设置问题
HTTP/1.1 404 Not Found
Server: nginx/0.8.54
Date: Sat, 24 Mar 2012 02:29:09 GMT
Content-Type: text/html
Content-Length: 571
Connection: keep-alive

404页面设置
是按照这个设置的
https://bbs.vpser.net/viewthread.php?tid=2175&highlight=404
也正常成功了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2012-3-24 10:56:52 | 显示全部楼层


这个不太清楚,去掉404页面看看
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 15:40 , Processed in 0.026293 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表