Forum Discussion
1 Reply
Sort By
Hello Doi.
Try this ->
when HTTP_REQUEST { # reject user if source IP is not 1.2.3.4 and first path value is not included in DATAGROUP if { ([class match [getfield [string tolower [HTTP::path]] "/" 0] neq DATAGROUP]) || ([IP::addr [IP::client_addr] neq 1.2.3.4]) } { reject } }
Regards,
Dario.