I would use a switch command as it's a bit more efficient, also for posting code here use the Preformatted code button on the irule text so it's more readable,
cheers
when HTTP_REQUEST {
switch [string tolower [HTTP::host]] {
"needhelp.ou.edu" {
switch -glob [string tolower [HTTP::uri]] {
"/" {
HTTP::redirect "http://itscnorman.ou.edu/contact/"
}
"/library*" {
HTTP::redirect "https://ounew.service-now.com/forms/walkin_bizzell.do"
}
"/couch*" {
HTTP::redirect "https://oudev.service-now.com/forms/walkin_couch.do"
}
"/el*" {
HTTP::redirect "https://oudev.service-now.com/forms/walkin_el.do"
}
"/oneu*" {
HTTP::redirect "https://oudev.service-now.com/forms/walkin_oneu.do"
}
}
}
}
}