Forum Discussion
Yozzer
Jun 03, 2011Nimbostratus
Data Group List use in a switch
Hi
I have a Data Group list called allowed_urls that has a list of accepted urls which i want to use in an irule.
switch -glob [HTTP::uri] {
"*temp.txt" {
do...
hooleylist
Jun 03, 2011Cirrostratus
Hi Yozzer,
You can't really use a datagroup in a switch statement. You could use an if/elseif/.../else chain to check multiple datagroups.
Which version are you running? If you want better suggestions, can you provide a more detailed example of what you're trying to do?
Thanks, Aaron
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