Forum Discussion
How to Add a query string to a pass to a pool
Hi Sadorect, The problem with your iRule is, that you trigger the HTTP::redirect on every single HTTP::request. In this case a redirect loop will most likely ocour, since the redirects will be redirected again and again and again. Look at the code examples of my answer below. Both examples will make sure that the HTTP redirect (example 1) or URI rewrite (example 2) will only become triggered, if the user accesses http://10.10.1.57:9001/banks. Every other URI will then become forwarded without triggering the redirect/rewrite again. Note: Feel free to change /banks to just /. In this case your users can use http://10.10.1.57:9001/ to start the application...
Cheers, Kai
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