Forum Discussion
Snl
Nov 07, 2018Cirrostratus
ensure to add stringtolower to avoid case sensitive bypass
when HTTP_REQUEST {
if { [string tolower [HTTP::uri] starts_with "/admin" and (![class match [IP::remote_addr] equals admin_ips]) } {
HTTP::redirect "https://mysite.com"
}
}