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 ...
Samir_Jha_52506
Aug 04, 2016Noctilucent
Hi jerm1020,
Can you please try iRule. Please validate & confirm so that i can modify accordingly
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 }
{ set ifileContent [ifile get "/Common/iFile-index.html"]
HTTP::respond 200 content $ifileContent }
}
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