Forum Discussion
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
Nimbostratus
May 27, 2014There'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.