Forum Discussion
jerm1020_254086
Aug 04, 2016Nimbostratus
hosting maintenance page via ifile utilizing an irule
I am searching for a solution to an issue a customer has presented. They would like to have a maintenance splash page that will external users will hit when all pool members are down but still allow ...
Jinshu
Aug 04, 2016Cirrus
Hope Below iRule helps. Change the Pool_Name to your server pool name.
when CLIENT_ACCEPTED {
if { [active_members Pool_Name ] >= 1 } {
pool Pool_Name
}
else {
HTTP::respond 200 content { Sorry Page Sorry, The website is not available. Please try again later }
}
}
-Jinshu
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