Nilendu
Jun 05, 2019Nimbostratus
Need iRule for URL redirection with part of URI as dynamic
I am looking for an iRule such as
https://www.abc.com/cat/dog/tiger.aspx with "anything" after that should redirected as https://www.xyz.com//cat/dog/tiger with "anything" after that.
Example:
https://www.abc.com/cat/dog/tiger.aspxqqqqqqqqqqrrrrrrrrrr
https://www.xyz.com//cat/dog/tigerqqqqqqqqqqrrrrrrrrrr
Example:
https://www.abc.com/cat/dog/tiger.aspxqqqqqqqqqqrrrrrrrrrr/mmmmmnnnnn/yyyyy
https://www.xyz.com//cat/dog/tigerqqqqqqqqqqrrrrrrrrrr/mmmmmnnnnn/yyyyy