Forum Discussion
Stanislas_Piro2
Sep 07, 2017Cumulonimbus
You can try this code:
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/login " && ![IP::addr [IP::client_addr] equals 172.0.0.0/8]} {
HTTP::respond 403 -version "1.1" content {Access Denied.}
}
}