Forum Discussion
hooleylist
Apr 18, 2013Cirrostratus
Here's an updated version of your approach:
when HTTP_REQUEST {
if {[class match -- [string tolower [HTTP::path]] ends_with images] } {
pool Apache_Pool_80
} elseif { ([HTTP::path] ends_with ".gif") || ([HTTP::uri] ends_with "/qas") } {
pool Weblogic_Pool
} elseif {[HTTP::uri] starts_with "/webservices" } {
pool Weblogic_Services_Pool
} elseif {[HTTP::uri] contains "/atgws" } {
pool buybuybaby.com_services_80
} else {
pool Apache_Pool_80
}
}
Aaron