Forum Discussion
JCMATTOS_41723
Jul 10, 2009Nimbostratus
Thx Aaron, I created a datagroup called users_A_class thru the GUI and still no luck? Am I missing something?
[root@Active] config b class list all
class users_A_class {
type ip
filename none
mode rw
partition Common
host 172.24.4.50
none
none
}
---------------------------------------------
when HTTP_REQUEST {
Check the requested URI
switch -glob [string tolower [HTTP::path]] {
"/FilterTest*" {
Reset the request if if the source IP is not allowed
if {not ([matchclass [IP::client_addr] equals $::users_A_class])}{
reject
}
}
default {
Reset the request
reject
}
}
}