Forum Discussion
What_Lies_Bene1
Nov 09, 2012Cirrostratus
You're too fast Kevin! Thanks
Here's a slightly more efficient version of your rule;
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" } } }