Forum Discussion
Mark_S__182830
Jan 15, 2015Nimbostratus
Adding Catchall Behavior to iRule
With the following iRule, when I hit domain.com/ShortName1_Anything here, it will keep the URI portion intact and pass it to the default pool for the VIP. if { [HTTP::uri] eq "/ShortName1*" } {...
Mark_S__182830
Jan 15, 2015Nimbostratus
That worked great - so when you said you think my * was the issue, did you mean here:
&& !([HTTP::uri] eq "/ShortName1*")
Thanks a million!
- Michael_JenkinsJan 15, 2015CirrostratusYea. the "eq" doesn't allow wildcards, so you would have either had to use "string match" or the switch statement (which to me is easier to read than the if statements).
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