Forum Discussion
R__Hickman_1172
May 08, 2019Nimbostratus
As tiziano rosato mentioned- a LTM policy would work and be pretty easy, but if you would rather do an iRule - this is one I use frequently for these kind of URI redirects:
when HTTP_REQUEST {
if {[HTTP::uri] equals {/}} {HTTP::uri {/123}
}
}
This assumes we don't care so much about the host URL, only what comes after the /.