Forum Discussion
wtwagon_99154
Apr 21, 2011Nimbostratus
Looking to direct users to a server based upon URI
I'm an iRules and coding rookie, but I am trying to complete the following:
User will try to hit:
http://www.x.com/httm_TTT.xml.gz
Where the TTT can be one of the followi...
hooleylist
Apr 22, 2011Cirrostratus
Hi WT,
matchclass is used to check if a string, digit or address/subnet is part of a datagroup. It shouldn't be used to check one string against another.
I suggest either using Joel's switch example, or a standard string comparison to do this instead. Joel's example should be the simplest to maintain if and when the URIs need to be updated.
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