Forum Discussion
Redirect based on URI and select new pool?
I am looking for a solution to redirect users to a different URL based a specific URI then without creating a new VS for the new URL send to a specific pool. Below is a switch statement used to select a pool based on URI though I am unsure of how or if it is actually possible to redirect and send to a pool.
Currently there is an iRule which contains an if statement for many uri's since this one VS actually hosts multiple applications and redirects to pool based on URI though it does not redirect to a different URL based on URI.
4 Replies
- Dev_56330
Cirrus
Can anyone tell me if this is possible?
- JG
Cumulonimbus
What did you mean by "a different URL"? A different hostname? And where is the switch statement? Can you be more specific about the problem you are trying to solve?
- Vijay_E
Cirrus
You should be able to redirect based on URI using switch statement. For better answer, provide the relevant URL and URI.
"...then without creating a new VS for the new URL send to a specific pool."
I'm not sure how this part would work
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