Forum Discussion
EL
Nimbostratus
Mar 15, 2017Automatic Maintenance Page
Hi Folks
I would like to check whether got any sample irule to achive my requirement. I would like enable the automatic maintenance page if my server under maintenance, the requirement as below
...
Vijay_E
Cirrus
Mar 15, 2017You can use something like this:
When HTTP_REQUEST {
if { [active_members pool_name] < 1 } {
HTTP::respond 302 Location "http://domain.com/maintenance.html"
}
}
There are multiple variations of this in devcentral. A search online should help. Also, fallback host in HTTP profile can also be used.
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