Forum Discussion
nitass
Apr 24, 2014Employee
is it something like this?
when RULE_INIT {
set static::DEBUG 1
}
when HTTP_REQUEST {
if { [active_members INF-HC-HTTP] < 1 } {
switch -glob [string tolower [HTTP::path]] {
"*.gif" -
"*.css" {
HTTP::uri [string range [HTTP::uri] [string last / [HTTP::uri]] end]
}
default {
HTTP::uri /
}
}
pool QA-PH
} elseif { [class match [string tolower [HTTP::uri]] starts_with QA-HC-URI] } {
pool INF-HC-HTTPDNN
} else {
pool INF-HC-HTTP
}
}