Forum Discussion
Michael_Yates
Oct 28, 2011Nimbostratus
Hi fillstrsoh,
I don't think that your iRule is working properly the way that you have it configured. In a switch statement the comparison is absolute and I don't think you are going to get a qualifying match because of the trailing "." periods that you have:
"/sites/its.*"
"/sites/its.*"
Try this and see if it works properly:
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/sites/its*" {
log local0. "This time pool - ITS"
pool dv-strsohioportal_its_pool
}
"/sites/inv*" {
log local0. "This time pool - INV"
pool dv-strsohioportal_inv_pool
}
}
}