Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
http://ststephens.edu/
当我这样做时,此站点返回状态代码 500(内部服务器错误), wget http://ststephens.edu/但在我的浏览器上运行良好。同样如此屏幕截图所示,主页显然是 500 状态,但该站点似乎可以正常运行。
wget http://ststephens.edu/
什么能让这一切发生?
Web 浏览器比 wget 更灵活。即使它收到错误代码,它仍然会显示返回的页面内容以及错误代码响应。如果未提供任何内容,Web 服务器只会使用其默认错误视图。
Wget 和搜索引擎爬虫更加严格。他们会在看到错误代码响应后立即退出。
我认为您的服务器配置有问题。检查您的 Web 服务器日志文件。它可能会告诉您为什么服务器会给出此错误。