Forum Discussion
Christian_15126
Nimbostratus
Jan 24, 2013irule switch statement not matching header or paths
Marketing has hit me with another irule fun project. This is what they want me to accomplish:
They want 60/40 split load balancing between the following URL's:
-------------- 40% -...
nitass
Employee
Jan 24, 2013switch -glob [string tolower [HTTP::header "$static::a_sub.$static::domain"]] {what string do you want to match? is it http host header (HTTP::host), path (HTTP::path) or uri (HTTP::uri)?
incr static::currenti do not think you should alter static global variable value anyway.
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