Forum Discussion
mihaic
Dec 15, 2022MVP
here is an example:
ltm data-group internal example_uri {
records {
login { }
member { }
}
type string
}
when HTTP_REQUEST {
if {[matchclass [string tolower [HTTP::uri]] contains example_uri]}{
HTTP::respond 403 content "You don't have authorization to view this page. Access Denied" noserver Content-Type text/html Connection Close Cache-Control no-cache
log local0. "deny URI: [HTTP::uri]"
}
}