Amit_Shah_6642
Nov 11, 2013Nimbostratus
Allow traffic from specific IP to Specific URI
On our website we want to allow only few IPs on a specific URI. I write below iRULE, it is blocking all the traffic to go to that URI instead of the one I define in Pool. Thank you for help in advance.
when HTTP_REQUEST { if { [HTTP::uri] contains "/abc/xyzServlet" and (not [matchclass[IP::remote_addr] equals $::AddressAllowedPool ]) } { reject } else { pool Pool_servers } }