Darshan_Singh_2
Jul 02, 2015Nimbostratus
iRule to drop if uri starts with specific word.
Customer have requiment that if there URI starts with /abc/* then drop the request.
For this I created below iRule after applying this all traffic was getting drop. Please suggest what I missed.
when HTTP_REQUEST { set lowerCaseUri [ string tolower [HTTP::uri] ] if { ($lowerCaseUri starts_with "/abc") } { reject } }