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 09, 2011Cirrostratus
The datagroup will have various values that i want to test for in the url (i.e. a.txt, b.txt, c.txt, etc) and i want to perform actions when they are in the url.
I think Colin's suggestion is pretty close to this. What type of actions do you want to take? Can you give us some more specific examples of the URIs and corresponding actions?
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