Change http status 503 to 200 for app_offline.htm

I included .net in my application that when I want to disable my site, I put the app_offline file in the root of my web application, as described here ScottGu Blog

This returns a status code of 503 for all requests to the web application showing the offline page of the application.

This led to a problem when my load balancer displays a 503 status code and deactivates the site from load balancing.

Is there any way to modify the app_offline.htm file to return a status code of 200?

+5
source share

All Articles