Forum Discussion
slackwaresuppor
Nimbostratus
Feb 18, 2009temporary down page
is there anyway we can set a "default down" page in the f5 and apply it to a pool when we want to work on the machines etc??? like pool_db1 is down, so this page will be displayed..
- hoolio
Cirrostratus
Hi, - slackwaresuppor
Nimbostratus
we are doing network upgrades this weekend.. and our sites will be down, so we just wanted the f5s to display a "under construction page" - hoolio
Cirrostratus
If you want to respond to all requests to a VIP with a static HTML message, you can use HTTP::respond in an iRule and just add the rule when the maintenance starts and remove it afterwards.when HTTP_REQUEST { Send 200 response with some HTML and headers to prevent caching HTTP::respond 200 content { Site maintenance Site down for maintenance } Cache-Control: no-cache Pragma: no-cache Connection: close }
- JRahm
Admin
It's more than you are asking for in this case, but I just wanted to mention a new addition to the maintenance contributions on the code share. I haven't fleshed out the details in the wiki page yet (my wiki skills need some serious help), but Kirk Bauer wrote a perl script to grab your (understood, not you specifically) working sorry page and generate the iRules/classes necessary to replace that functionally on the LTM. If you run the script locally on the LTM, it'll even deploy for you. Cool stuff. :-)
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