Forum Discussion
Jan 16, 2007
1:
when HTTP_REQUEST {
if { ([matchclass [HTTP::uri] contains $::MCR_MO_HighRateURI]) ||
([matchclass [IP::client_addr] equals $::NCR_MO_HighRateIP]) } {
pool Alamo_http_MO_robotic
} else {
pool Alamo_MO_Http
}
}
2:
when HTTP_REQUEST {
if { [matchclass [IP::client_addr] equals $::HighRateIP_Exclude] } {
pool NCR_MO_HTTP
} elseif { ([matchclass [HTTP::uri] contains $::NCR_MO_HighRateURI]) ||
([matchclass [IP::client_addr] equals $::NCR_MO_HighRateIP]) } {
pool NCR_MO_HTTP_HighRate
} else {
pool NCR_MO_HTTP
}
}
3:
when HTTP_REQUEST {
if { ([matchclass [HTTP::uri] contains $::MCR_MO_HighRateURI]) ||
([matchclass [IP::client_addr] equals $::NCR_MO_HighRateIP]) } {
pool NCR_MO_HTTPS_HighRate
} else {
pool NCR_MO_HTTPS
}
}
Note: these aren't tested so you might want to make sure I got all the class and pool names correct but this should give you something to start with.
-Joe