Kaio_Mansano_30
Jul 14, 2017Nimbostratus
Simple Traffic Restriction
Hi, how are you? I need a help to create an Irule with follow condition:
What the command to allow access in that URIs ?
Allow access to 03 specifics URI requests:
And deny access to any other URI:
Ex:
when HTTP_REQUEST {
if {([HTTP::method] equals "GET") and ([HTTP::uri] equals "/URI1")} { ?? }
elseif {([HTTP::method] equals "GET") and ([HTTP::uri] equals "/URI2")} { ?? }
elseif {([HTTP::method] equals "GET") and ([HTTP::uri] equals "/URI3")} { ?? }
else {([HTTP::method] equals "GET")}{ drop }
}