Forum Discussion
Redirect to pool based on URI
So the expected behaviour is:
- URI starts with "/three" -> app3
- URI starts with "/two" -> app2
- all other URIs -> app1
If so, then you can do this with a single virtual (ip address/port) three pools and an irule.
Take a look at the ProxyPass irule that does what you are looking to do (with dynamic pool selection and content examination).
You could base a simpler irule on Proxypass: The irule chooses the correct pool based on the request URI.
In the response, it searches for links and inserts a leader into returned URIs in the html where required (i.e, if the link URI starts with /, and pool 2 was selected for the request, insert "/two").
If the applications cannot be split up as described above, then things get more complex.
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