Forum Discussion
Need help redirecting hundreds of host:uris to differentHOST:differentURI using datagroup and irule
- 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.
Hi Jalkumar,
One more related question.
How can I check the datagroup file (in the F5 filesystem) after it is successfully imported from an External file to the F5 successfully?
- jaikumar_f5Feb 27, 2021MVP
Yea you can goto /config/filestore/files_d/Common_d/data_group_d path and check there.
The GUI is pretty straight, System > File Management > Data Group File List.
Please mark the thread as solution provided.
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com