Forum Discussion
Siddharth_Sezhi
Nimbostratus
Sep 21, 2006Redirecting to a webpage when all the health check fails to the memerbs o the pool
Hi,
One of our customer is asking to setup a http redirection to a html page mentioned by them only if the health check fails to all members of the pool which are serving their website. ...
Siddharth_Sezhi
Nimbostratus
Sep 21, 2006LB Failed option wil redirect to a new pool if the LB couldnt get to the pool. My requirement says that when the httpd daemon stops running the server or the servers in the pool are down due to outage the client accessing the webpage will get error 404 "webpage not found" instead of getting this page client wanted to redirect a direct webpage given by them. I finally figured a solution but have no idea whether it wil work awaiting for customer approval to implement and check.
here is the irule i suggested
when HTTP_RESPONSE {
if { [HTTP::status] contains "404"} {
HTTP::redirect "http://www.millsberry.com/999_DB_ERROR.phtml"
}
}
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
