Forum Discussion
hooleylist
Apr 18, 2013Cirrostratus
Something like that should work. Else you could use a switch statement to check the file types in the iRule itself.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"*.css" -
"*.pdf" -
"*.txt" -
"*.flv" {
Select the Apache pool for static filetypes
pool Apache_Pool_80
}
"/webservices*" -
"/qas*" {
pool Weblogic_Services_Pool
}
default {
Select a pool for non-matching filetypes
pool some_default_pool
}
}
}
Another reply on its way.
Aaron