Forum Discussion
Keep the original URL in browser address bar after redirect
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
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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
