aguley_212957
Dec 03, 2015Nimbostratus
iRule for Port
We are migrating an internal portal that we have running through the Big IP. I want to write an iRule to redirect users if they try to go to the old page to the new one. The url is the exact same except for the port number.
I am trying to write an http re-redirect if the url contains port 50100 and redirect it to 57701. Not having much luck with it.
elseif {[TCP::local_port] eq 50100}{ log local0. "irj" HTTP::redirect "https://abc.com:57701/irj/portal"
Thanks