Forum Discussion
Arie
Jul 16, 2014Altostratus
Could it be that the request adds a trailing slash? You're not looking for that in the switch. You could see what happens if you add an asterisk to your criteria:
when HTTP_REQUEST {
Check requested uri header (set to lowercase)
switch -glob [string tolower [HTTP::path]] {
"/blog*" {
pool prod.ola.internal.com
}
"/application*" {
pool prod.ola.internal.com
}
default {
pool prod.ria.internal.com
}
}
}