Forum Discussion
Faruk_AYDIN
Apr 21, 2019Nimbostratus
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
}
}