Forum Discussion
1 Reply
Sort By
- Faruk_AYDINNimbostratus
Hi Guy,
if you want to only allow urls starting with a specific path, use this:when HTTP_REQUEST { if { not ([string tolower [HTTP::uri]] starts_with "/xyz/def/ghi/") } { log local0. "Dropped: client:[IP::client_addr] uri:[HTTP::uri]" drop } }