Forum Discussion
DaytonG_131489
Nimbostratus
Oct 09, 2013Serve maintenance page if file exists
We are hoping to let our developers control turning on maintenance pages for their sites. We were hoping that we could check for the existence of a file in (or outside) the application to determine w...
Cory_50405
Noctilucent
Oct 09, 2013You could use an HTTP monitor and configure the 'Send String' to do an HTTP get on a file, /up.txt for example. Then configure 'Receive Disable String' with whatever you put in the up.txt file to indicate that the server should be marked down.
For your maintenance page, you can specify a 'Fallback Host' in the HTTP profile you've associated with the virtual server. This is the page that users will be presented with in the event that no pool members attached to the virtual server are available.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects