Lucas_Kaczmarsk
Jan 28, 2016Nimbostratus
Keep the original URL in browser address bar after redirect
Hello,
I have the following irule which redirects users to a holding page (holding.test.com) in an event of the pool failure. What I want to do is to keep the original URL (live.test.com) in a browser address bar after the redirect happens.
when HTTP_REQUEST {
if {[active_members LB06-HTTP-POOL]>0} {
pool LB06-HTTP-POOL
} else {
log local0. "Holding page ENABLED for LB06-HTTP-POOL"
HTTP::respond 302 Location " http://holding.test.com/"
}
}
Is that possible? Many thanks in advance.
Thanks, Lucas