Forum Discussion
Kai_Wilke
Jan 28, 2016MVP
Hi Lucas,
A redirect does what it does... it simply redirects your client to a new location.
So if you need to keep the original URL in your location bar, then you have to use a different way to access the Hold Page.
See the examples below to get an overview of possible solutions...
Scenario1: Accessing the Hold Page using the Hold Page Pool
when HTTP_REQUEST {
if {[active_members LB06-HTTP-POOL]>0} {
pool LB06-HTTP-POOL
} else {
pool YOUR_HOLD_PAGE_POOL
}
}
Scenario2: Accessing the Hold Page using the virtual server that is already using the Hold Page Pool
when HTTP_REQUEST {
if {[active_members LB06-HTTP-POOL]>0} {
pool LB06-HTTP-POOL
} else {
virtual YOUR_HOLD_PAGE_VIRTUAL_SERVER
}
}
Note: I would prefer Scenario1. It would have less overhead...
Cheers, Kai