arczi45_305574
Jun 02, 2017Nimbostratus
Irule redirection based on /value
Hi;
I have to write an irule to redirect a traffic to new URL based on special value from old URL.
For example:
I have this URL https://website.com/otcsEN/livelink.exe/Open/162269 , at the end is the string with changeable length. It could be 3 or 5, 7 etc. long.
The new URL is https://website2.com/_layouts/15/sharepoint.aspx?q=IDMSObject%3A162269&v=search, where the string 162269 have to be after %3A pattern and before & sign.
How can I do this? It is possible to put a value using $variable?
Thank you for help