Forum Discussion
What_Lies_Bene1
Feb 06, 2013Cirrostratus
OK, slight update;
Create a Data Group (called uri_allow below) with the list of
permitted URI's (make sure they start with /)
when HTTP_REQUEST {
if { not [class match [string tolower [HTTP::uri]] equals uri_allow] } {
HTTP::respond 200 content "URL Blocked"
Stop processing the iRule for this event here
Return
}
}