Forum Discussion
Christian_15126
Nimbostratus
Jan 06, 2013irule to redirect info.blah.edu catches all paths, not just the three defined
Match subdomain.domain, with a "/", b_path, c_path, d_path; Then A/B load balance 60/40 percent ratio.
Created 12/11/2012 Christian Henderson
Last edited 12/11/12
when RULE_INIT { ...
hoolio
Cirrostratus
Jan 07, 2013Tcl requires special formatting to use variables as the cases in a switch statement:
See the two examples on the DC wiki page for switch for details:
https://devcentral.f5.com/wiki/iRules.switch.ashx
Here are two examples with slightly different syntax for how to use variables as switch cases. Both examples log "matched starts_with $case2: test2".
Aaron
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