Posted By jokragly on 11/08/2010 07:43 AM
Aaron thank you for the correct coding, although the
[HTTP::uri] eq "/")
is still being blocked. This is the issue we initially were running into, not being able to allow the "/". Once we get over this hurdle of allowing the root "/" I think we are golden. The datagroup call seems to be working perfectly.
We are running BIG-IP 10.2.0 Build 1707.0
I seem to have misunderstood your requirements. Here you go:
when HTTP_REQUEST {
if { ![class match [string tolower [HTTP::uri]] starts_with SplunkTest] or [HTTP::uri] ne "/" } {
HTTP::respond 200 content "PERMISSION DENIED TO: [HTTP::uri]"
}
}
Let me know if that doesn't work.