Forum Discussion
Skuba_85554
Nimbostratus
Oct 13, 2010is this line correct?!
hi everyone
could you confirm whether line 2 is correct? it only used to contain "www.abc.com" but i've added the "or" statement and i'm not sure if it's entirely correct...
------...
hoolio
Cirrostratus
Oct 14, 2010Good info Ben. You could also use a switch statement to check the host value set to lowercase:
switch [string tolower [HTTP::host]] {
"www.abc.com" -
"www.def.com" {
Exact match for www.abc.com or www.def.com
}
default {
No match
}
}
Aaron
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