Forum Discussion
dkinsler_23191
Nimbostratus
Oct 13, 2010Redirect without rewriting host portion of URL
Hello all, I have a question about Redirecting. I have two VIPs and each has its own URL. I want one to redirect to the other under certain cconditions but I dont want the URL to change hosts. For ...
Chris_Miller
Altostratus
Oct 13, 2010I'm assuming you have different pools for each VIP?
Would it be acceptable to simply use the other pool?
Using your code:
when HTTP_REQUEST {
{if { [HTTP::uri] starts_with "/stuff" } {
pool pool_mydomain2 } {
else pool pool_mydomain1 }}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
