Forum Discussion
Joe_Pipitone
May 12, 2014Nimbostratus
Portion of iRule not being processed
I have combined multiple iRules into one, however the 2nd portion of the rule is not working. I have confirmed using logging that the URI is being caught, however redirection is not taking place. I...
Joe_Pipitone
Nimbostratus
This is incredibly confusing - if I change the switch statement to look like the below - going to this URI with a capital C works....however, now going to this uri with a lowercase c breaks. It used to be the other way around. Something is funky as far as the case.
"c=*" {
log local0. "Query string of URI [HTTP::uri] is [URI::query [HTTP::uri]]"
HTTP::redirect "http://newforum.newdomain.com/default.aspx?g=forum&c=[URI::query [HTTP::uri] C]"
return
}
Joe_Pipitone
May 27, 2014Nimbostratus
There's no other redirect that's happening - just checked it with httpwatch and Chrome dev tools. If I reverse the case of the C and c....then it redirects. I currently have this redirection in place using if statements with no issues.
I appreciate your help - if there's anything else you may think I'm missing I am all ears! I am going to give this a shot using if statements in the meantime.
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