Forum Discussion
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...