Forum Discussion
Aaron_M__Long_1
Nimbostratus
Sep 27, 2012iRule switch confusion (Version 9.4.4)
So I've created an iRule using the switch statement, but for some reason my logic is failing for every conceivable match. Every condition falls through to the default case. What am I doing wrong?...
AaronMLong_1021
Cirrus
Sep 27, 2012Thanks, +Kevin Stewart, it was the braces that was killing my match condition.
I hadn't realized that the null match would never get hit. Am I to take it that F5 interprets 'http://website.example.com' and 'http://website.example.com/' identically, and that [HTTP::uri] will return '/' for both?
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
