Forum Discussion
Debugging a website irule help
First, you need to understand what is the condition you will be testing, and also how many values you will have for testing.
If just a small number of options, like up to 5, I would go for a switch. If a large number, I would go for a datagroup.
You could also reverse that, and just log when you find that condition. That could be URL, client IP, etc...
This links have information about the commands you need for switch and datagroup, and also examples with iRules using that:
https://devcentral.f5.com/wiki/irules.switch.ashx
https://devcentral.f5.com/wiki/irules.class.ashx
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
