Forum Discussion
I can't get this figured and it can't be this hard. All I want is an iRule that:
A) go to main page: qa.hcareers.com and if pool is unavailable go to another pool that has a site unavailable web page
B) go to login page: qa.hcareers.com/access/..... and if pool is unavailable go to another pool that has a site unavailable web page (same pool and web page as A).
C) go to resource page: qa.hcareers.com/resource/..... and if pool is unavailable go to another pool that has a site unavailable web page (same pool and web page as A).
If I use: if { [active_members INF-HC-HTTP] < 1 }
{ if { $static::DEBUG } { log local0. "Primary pool offline" }
HTTP::uri /
pool QA-PH
}
A) works fine. B) brings up the text but not the css or gif's, HTTPFox and wire shark report the correct URL of qa.hcareers.com/images/logo.gif and 200 OK. C) same as B.