Forum Discussion
Anush
Nimbostratus
Mar 02, 2015Data group "/" definition
Hi Experts,
Thanks in advance for your time and respond to this question.
I have request to redirect couple of URLs to specific site.
https://abc.com/ or
https://abc.com/uri1 or
http...
Michael_Jenkins
Cirrostratus
Mar 02, 2015The
HTTP::host command will only give the host name ("abc.com"). It won't give your the protocol. So you don't want to use that when you're comparing because it'll never be equal.
Your iRule's logic will work as long as you want any host that has one of the uris specified in the data group to be redirected to def.com. That means that
https://abc.com/uri1 would go to https://def.com, as well as https://def.com/uri1 would be redirected as well.
Are you trying to redirect everything with a specific URI to def.com, or only certain hosts like abc.com?
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects