Forum Discussion
Jim_Mathers_131
Nimbostratus
Apr 18, 2017Check for persistence entry before invoking HTTP::respond 200 content
Hello,
I've the following simple iRule that sends a Sorry Server message when no Pool Members are active:
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::r...
Amine_Kadimi
MVP
Apr 18, 2017I think this simple snippet will work for you:
when LB_FAILED {
HTTP::respond 200 content "The application is currently unavailable"
}
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