Forum Discussion
Gill_32697
Nimbostratus
Nov 16, 2012help with irule else test-pool not getting hits
When typing only https://test.swbc.com in my browser I am not hitting my last resort pool Test-SWBC-Migration2
I do get out current home page but not the new website on pool Test-SWBC-Migration...
Nov 16, 2012
The else statement in your iRule is being used as a case in the switch.
If you want to use an "else" type case for a switch, use the keyword "default" instead of "else" (see the default wiki topic: https://devcentral.f5.com/wiki/irules.switch.ashx).
If you want it to be an else for the first "if" statement, move it out of the switch.
Hope this helps...
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