IIS7 Default Document not working
I'm trying to set up a simple, temporary 'System Maintenance in Progress' page. On my local host (W2K8 IIS 7), I just add App_Offline.htm at the top of the Default Document list in IIS
When I drop the file into my web root folder and load the site - the App_Offline.htm page loads. When I remove the file from the web root...Site loads as usual.
When I replicate this on our actual production web server (Win2K8 - IIS7 also), the App_Offline.htm never gets loaded.
The app is ASP.N开发者_开发知识库et 4 and I do NOT have a defaultdocuments section in my web.config.
TIA - tom
Problem solved:
The file has to be named App_Offline.htm
, which it was on my local box, but we didn't have the same file name on the web server.
精彩评论