Forum Discussion
Robert_47833
Altostratus
Sep 29, 2011can I use switch in this way?
insert switch in to another switch
can I use it in this way?
switch -glob [HTTP::uri] {
"/" {
switch -glob [string tolower [HTTP::host]] {
"*.co.uk" {
HTTP::redirect
return
}
default {
HTTP::redirect
return
}
}
}
"/account*" {
persist none
pool MYX
return
}
3 Replies
No RepliesBe the first to reply
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