Forum Discussion
sundogbrew
Altocumulus
Jul 30, 2014Irule redirect question
So I wrote a real simple Irule that redirects if all the nodes are out of the pool
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 } {
HTTP::redirect "https://blablabla.com"
}
...
Kevin_Stewart
Employee
Jul 30, 2014Absolutely.
when HTTP_REQUEST {
if { [active_members [LB::server pool]] < 1 } {
HTTP::redirect "https://replacementurl/[HTTP::host][HTTP::uri]"
}
}
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