Forum Discussion
Stanislas_Piro2
Sep 15, 2015Cumulonimbus
Try this:
when HTTP_REQUEST {
Check the requested HTTP path
switch -glob [string tolower [HTTP::path]] {
"/path1/*" {
pool pool1
HTTP::path string map "/path1/ /" [HTTP::path]]
}
"/path2/*" {
pool pool2
HTTP::path string map "/path2/ /" [HTTP::path]]
}
default {
o nothing
}
}
}