Forum Discussion
abeny_894
Nimbostratus
Dec 03, 2008How to combine two iRules into one?
Dears,
First of all, I would like to say thanks to all of you that I have learned much on iRules in here.
I have a question on how can I combine separate iRules int...
hoolio
Cirrostratus
Dec 08, 2008If you're only checking the host in the switch statement, you could leave off the -glob flag and the URI:
switch [string tolower [HTTP::host]] {
"test1.f5lab.com" {
As the host header value is case insensitive, it would make sense to set it to lowercase and use lowercase in the hosts.
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