Joe_Pipitone
Nov 12, 2009Nimbostratus
Case insensitive redirects not quite working
I have an iRule that is supposed to do simple redirection if someone types in the following:
http://www.ourdomain.org/LV2010 or http://www.ourdomain.com/lv2010
It seems as though I haven't quite been able to get this to work if I attempt to add anything further past the /LV2010 such as /LV2010/instructors
Can anyone tell me what may be causing this to happen? Here are what the syntax looks like:
if { [string tolower [HTTP::uri]] starts_with "/lv2010" } {
HTTP::redirect "http://www.ourdomain.org/education/display.aspx"
} (THIS WORKS)
if { [string tolower [HTTP::uri]] starts_with "/lv2010/instructors*" } {
HTTP::redirect "http://subdomain.ourdomain.org/events/some-other-file-here-2010/speakers/speaker-list.aspx"
} (THIS DOES NOT WORK)
Any ideas? These need to be case insensitive as well