Forum Discussion
Hudson_Donovan_
Nimbostratus
Jun 29, 2006URI String Validation
A newbie question that I hope you can help with.
I am curious to learn whether iRules v4 support any commands other than "equals", "starts_with", "contains" and "ends_with" to validate string data within the URI.
For example, I may need to redirect URLS that contain numeric values
www.domain.com/11111 to one domain
but www.domain.com/abcde to another
I know i can use an If/Else statement to redirect the URL, but when both uri types contain too many variants to list individually, does an iRules function exist that allow us to check the URI via an "IsNumeric" type statement or can we use "less than"/"greater than" type operators to assist us with the identification of at least the numeric ranges.
If so, an example of these at work would be appreciated.
Incidently, I dont have access to tech.f5.com to read any manuals which may exist (Im not our domain administrator).
If anyone knows any good resources that document version 4 rules well it would be appreciated.
F5.com Wiki's (my first introduction to iRules aside from this forum) are very (completely) version 9 heavy and I dont want to think something is possible when its not.
Thanks again
Hudson
- hoolio
Cirrostratus
Hi Hudson,
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