Forum Discussion
jokragly
Nimbostratus
Jul 22, 2016iRule for sorry page with pool and path
So I have an iRule that identifies if the LB server pool is equal to 0 then call a different pool which is the server hosting the Sorry Page. The issue is the Sorry page is not at the root of this p...
Jul 22, 2016
I would use the LB_FAILED event instead. Also, I might insert a connection close to make sure that the user gets a new iRule flow upon any retry:
when LB_FAILED {
set failed 1
HTTP::uri "/maintenance/maintenance.html"
pool mov_maintenance_page
}
}
when HTTP_RESPONSE {
if { [info exists failed] && $failed== 1 } {
HTTP::close
}
}
/Patrik
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