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.
我们添加了 app_offline.htm。所有请求都返回“正在重建的站点”和 404 错误。我可以为返回 503 错误做什么?
我们使用asp.net 2.0。我创建了新的池 ASP.NET 4.0 并将网站附加到它。然后返回的http状态是503。
澄清一下,当使用 app_offline.htm 时,ASP.NET 2 返回 404,而 ASP.NET 4 返回 503 状态码。