App_offline.htm is a very usefull feature during web site updates. But
I don't understand why asp.net engine returns a 404 status code instead
of a "normal" 200.
I created a simple app_offline file:
<html>
<body>
Apllication off line!
</body>
</html>
I put it in the root of my web site. Now for every request IIS returns:
HTTP/1.1 404 Not Found
Server: Microsoft-IIS/5.1
Date: Thu, 09 Feb 2006 07:58:00 GMT
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private
Content-Type: text/html
Content-Length: 57
<html>
<body>
Apllication off line!
</body>
</html>
I don't understand why "HTTP/1.1 404 Not Found".
I think the right response should be "HTTP/1.1 200 OK"....
Thank you
Fabrizio