Forum Discussion
Lee_Sutcliffe
Jan 23, 2018Nacreous
Updated to compensate for route domains
The event will have to be HTTP_REQUEST as you are reading the URI. You were almost there with your attempt, please try the following:
when HTTP_REQUEST {
if {[IP::client_addr] contains "192.168.100.201"}{
if {[string tolower [HTTP::uri]] ne "/cvs/chn.website.cvs.account_1.0?wsdl"} {
reject
}
}
}