Forum Discussion
StuKirby_233899
Jan 11, 2018Altostratus
Hello
You could also specify the URI must have letters in:
when HTTP_REQUEST {
Check if the host header contains one or more alpha characters
if {not ([string match -nocase {*[a-z]*} [HTTP::host]])}{
Host was either empty or an IP address, drop the request
drop
}
}