Forum Discussion
SanjayP
Apr 21, 2021Nacreous
Modify data group name accordingly.
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/admin*"
{
if { ![class match [IP::client_addr] equals internal_ip] } {
HTTP::respond 301 Location "https://abc.com"
}
} default {
return
}
}
}