Forum Discussion
The_Bhattman
Nov 16, 2009Nimbostratus
You might want switch from IF to "switch"
switch -glob [string tolower [HTTP::uri]] {
"/lv2010/instructors*" { HTTP::redirect "http://events.ourdomain.org/events/some-other-page-conference-2010/speakers/speaker-list.aspx" }
"/lv2010/hotel*" { HTTP::redirect "http://events.ourdomain.org/events/some-other-page-conference-2010/information/hotel-and-travel.aspx" }
"/lv2010/register*" { HTTP::redirect "http://events.ourdomain.org/events/some-other-page-conference-2010/information/registration.aspx" }
"/lv2010/fax*" { HTTP::redirect "http://events.ourdomain.org/events/some-other-page-conference-2010/information/registration.aspx" }
"/lasvegas10*" { HTTP::redirect "http://events.ourdomain.org/events/some-other-page-conference-2010/home.aspx" }
"/lasvegas2010*" { HTTP::redirect "http://events.ourdomain.org/events/some-other-page-conference-2010/home.aspx" }
"/lv2010/es/register*" { HTTP::redirect "http://events.ourdomain.org/events/some-executive-page-2010/information/registration.aspx" }
"/lv2010/es/hotel*" { HTTP::redirect "http://events.ourdomain.org/events/some-executive-page-2010/information/hotel-and-travel.aspx" }
"/lv2010/es/qualify*" { HTTP::redirect "http://events.ourdomain.org/events/some-executive-page-2010/information/qualification.aspx" }
"/lv2010*" { HTTP::redirect "http://events.ourdomain.org/events/some-other-page-conference-2010/home.aspx" }
}
CB