Forum Discussion
Siddharth_Sezhi
Sep 21, 2006Nimbostratus
LB 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"
}
}