Forum Discussion
iRule Redirect for the same URL?
Hello All,
I am struggling to implement an iRule condition for the same URL where I can't use any redirects like 301, 302, 307, etc. because of infinite loop.
Here is the example.
Source URL:
Destination URL:
so basically I want to add /not/working/ part before hitting the backend servers. I tried few techniques but no results yet.
Thanks as always, R
- rob_carr
Cirrocumulus
I don't think you need to use a redirect to do what you are trying to accomplish.
If it's a limited number of URLs, and the list is pretty static, why not just use a rewrite profile, which maps (in a reversible fashion) between an external and internal URL?
If the list isn't static, you could use a local traffic policy or iRule to rewrite the URLs in client requests and server responses.
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