Richard_Kim_270
Aug 15, 2008Nimbostratus
Basic iRule redirect help
Hello people. I would like to add a line that will detect a url/file for "login.aspx" and redirect it to "default.aspx*". here is my current iRule:
when CLIENT_ACCEPTED {
set vmapppool06 [LB::server pool]
}
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"*/report/*" -
"*/reports/*" -
"*/admin/*" {
pool vmqaapppool06_reports
}
"*/imaging*" -
"*/billing*" {
pool vmqaapppool06_image
}
default {
pool $vmapppool06
}
}
}