Forum Discussion
crush09_18103
Aug 21, 2012Nimbostratus
Redirect
So this is what I'm trying to do... We have a production webpage (virtual server/pool) with basic health monitors. We have a maintenance webpage (virtual server/pool). So the application guys wa...
crush09_18103
Aug 22, 2012Nimbostratus
Something like this.
when HTTP_REQUEST {
if { [LB::status pool health1 member x.x.x.x 443] eq down}{
HTTP::fallback "https://testmaint.xyz.com/default.htm"
}
}
or like this
when HTTP_REQUEST {
if { [LB::status pool health1 member x.x.x.x 443] eq down}{
HTTP::redirect "https://testmaint.xyz.com/default.htm"
}
}
The only problem I worry about is with persistance. Which will happen. When I did it the other way persistance caused a problem but since I had a health monitor I was able to force a reset when the pool went down and then redirect to the new page. I won't have that option this way. Unless I can include something in this irule.
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