gdoyle
Dec 09, 2018Cirrostratus
Confusing TCL error in Irule.
I have included my irule below for review if needed (I may have to include it in a separate post or two posts due to length. I would remove the comments, but I want to keep the what is there exactly for review.
I don't see anything that looks off with the iRule, but it is immediately invoking this error when people are trying to go to mywebsite.com/my/portal:
Dec 9 17:27:33 BigIP-corp err tmm[11991]: 01220001:3: TCL error: /internal/myewebsite.com_with_MaintenancePage_443_irule - extra switch pattern with no body while executing "switch -glob [string tolower [HTTP::host]] { "workhere.com" { log local0. "Matched workhere.com. Host:[HTTP::host] - URI: [HTTP::uri]..."
Thanks.