Forum Discussion
Ed_Ferrageau_67
Nimbostratus
Feb 01, 2008Redirect when all poolmembers are down
Hi,
I'm trying to figure out how I can redirect a request to an "external" errorpage, when all poolmembers are down. I have no experience with iRules, so any help is more than welcome.
Thank...
Wil_Schultz_101
Nimbostratus
Feb 01, 2008Here's one that I use:
when HTTP_REQUEST {
set mypool [active_members somepool]
switch $mypool {
"0" {
HTTP::redirect "http://www.mydomain.com/maintenance.html"
}
default {
pool mybackup_pool
}
}
}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
