Forum Discussion
Mike_Wethington
Nimbostratus
Aug 08, 2013Using Class match to look for item NOT in datagroup
Snippet of the rule
This works as it is looking for a match:
} elseif {[class match [string tolower [HTTP::header "User-Agent"]] contains mobileagent]}{
Redirect the request ...
Kevin_Stewart
Employee
Aug 08, 2013Try:
} elseif { not ( [class match [string tolower [HTTP::header "User-Agent"]] contains mobileagent] ) }{
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