dem_23523
Sep 24, 2007Nimbostratus
Convert rule from 4.x to 9.3
We have a simple rule in 4.5 that chooses a pool based on the URI (below). We're now upgrading to a new BigIP with 9.3, and I'm not familiar enough with the new syntax and options yet. Could someone suggest an efficient way to implement this rule?
if (http_uri starts_with "/isadmin/isreps") {
use pool reps-80
}
else if (http_uri starts_with "/isadmin/issf") {
use pool reps-80
}
else if (http_uri starts_with "/isadmin/issearch") {
use pool search-80
}
else if (http_uri starts_with "/isadmin/isutils") {
use pool utils-80
}
else if (http_uri starts_with "/isadmin/ismailrouting") {
use pool reps-80
}
else if (http_uri starts_with "/isadmin/isresplib") {
use pool nice-80
}
else if (http_uri starts_with "/isadmin/isagentconsole") {
use pool reps-80
}
else {
discard
}