Forum Discussion
Ranvir_Floura_7
Apr 01, 2009Nimbostratus
Hi Aaron,
Thanks for the directions. I am still having an issue. Here is what i have and it is complaining about undefined procedure: class.
class my_client_ips_class {
host x.x.x.209
host y.y.y.18
host z.z.z.15
}
when HTTP_REQUEST {
Check if client IP is in the datagroup
if {[matchclass [IP::client_addr] equals $::my_client_ips_class]}{
pool uat_pool
} else {
HTTP::redirect "http://abc.test.com"
}
}