Forum Discussion
adrian_171483
Sep 24, 2014Cirrus
Simple Irule redirect question
Hi,
I am brand new to irules as we are just converting from Cisco ACE.
I want to do a simple re-direct from http > https and add a new URI in the process so :
http://mysite.com to...
- 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]" }
Thomas_Gobet
Sep 24, 2014Nimbostratus
Hi Adrian,
Which version is your BIG-IP running on ? You may not need iRule to do this ;)
- adrian_171483Sep 24, 2014CirrusHi, We are on 11.4.1 thanks..
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects