Danny_Arroyo
Feb 25, 2021Cirrus
Need help redirecting hundreds of host:uris to differentHOST:differentURI using datagroup and irule
Hi All. I am using a BIG IP LTM v15.1.0.4 We have a file of 300 redirects that need to be handled by the F5 for one specific VIP. Its basically ONEHOST:ONEURI to ANOTHERHOST:ANOTHERURI. I have ...
- Feb 26, 2021
I dont see any syntax issue. But I see problem in your data group.
In my datagroup, I tried "https://mycompany.com/linkA" := "https://anothercompany.com/newlink". I tried with and without the "https://", but cant seem to get a match
I see you have put "https://mycompany.com/linkA", where the uri linkA is having A as caps.
So the Irule is converting everything to small case & when it does, it looks for record ""https://mycompany.com/linka" but it can't find one. So it wont redirect.
If you are doing string to lower in your irule, make sure you add your datagroup records in smaller case too.
This is a common mistake to ignore. I've done multiple times.
Please keep us posted & mark the thread as closed if it answers.