Forum Discussion
The_Bhattman
Mar 18, 2008Nimbostratus
nmenant beat me to it.
Here is the same method using Ravi's parameters
class dg_poolchoice {
"/abc poola"
"/xyz poola"
"/prq poolb"
"/def poolb"
}
when HTTP_REQUEST {
set choosenpool [findclass [string tolower [HTTP::uri]] $::dg_poolchoice " "]
if { $choosenpool != "" } { pool $choosenpool }
}
/CB