Forum Discussion
jake_macabuag_4
Jan 14, 2013Nimbostratus
can you check if this will work???
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains "opis" } {
if { [class match [IP::client_addr] equals allowed_ip_1] } {
pool OPIS_POOL }
} elseif {[string tolower [HTTP::uri]] contains "reseller" } {
if { [class match [IP::client_addr] equals allowed_ip_2] } {
pool RESELLER_POOL }
}
}