Forum Discussion
Kevin_Stewart
Nov 09, 2012Employee
Try this:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/dev*" {
pool dev-pool
}
"/qa*" {
pool qa-pool
}
"/uat*" {
pool uat-pool
}
default {
HTTP::respond 200 content "Please use /dev to go to the dev-webserivces-proxies, /qa to go to the qa-webserivces-proxies, /uat to go to the uat-webserivces-proxies" noserver Content-Type "text/html" Connection Close
}
}
}
Also add a default pool.