Forum Discussion
Simple Irule redirect question
- Sep 24, 2014
With 11.4.1 TMOS version, you can work with LTM policy.
You will be able to change the URI as you wish and then redirect your user to the newest URL.If you want to use an iRule here is what you want (again iRule isn't the most optimize method if you have a lot of requests) :
HTTP_REQUEST { HTTP::redirect "https://[getfield [HTTP::host] ":" 1]/something/something/[HTTP::uri]" }
Hello Adrian,
You have the perfect example built in already, check in your irule list if you have _sys_https_redirect.
when HTTP_REQUEST { HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri] }
next it depends if you wan to keep the uri part from the initial request or or just send the user to /something/something
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