Annsar_Akhtar
Sep 21, 2012Nimbostratus
Irules redirect/rewrite query
Hi all
I am new to the irules forum, and have been looking for the best way to handle a request come from our development team.
The request is as following, currently users browse to http://www.test.com/destination/xyz and would like to redirect users based on capturing the last bit of the url i.e xyz to http://www.test2.com/destination/xyz
So is it possible to capture the last part of a url with an irule and then pass this to a set url and append the capture part of the url, to add some more complication we then need to rewrite the url to the original for SEO purposes to maintain rankings.
Our f5’s are currently running 11.20. Build 2451.3, the servers hosting the sites are both in separate pools.
Thanks in advance