Forum Discussion
Joe_Erchul_4263
Nov 16, 2015Nimbostratus
Nitass,
That looked pretty crazy. Here's what I came up with:
when HTTP_REQUEST { if { [string tolower [HTTP::path]] starts_with "/this_is_where_I_start/" and [HTTP::uri] matches_regex {/~[0-9]}} { reject } }
The iRule didn't bomb on me, so I'm going to apply it in my test environment. Do you see any potential gotchas there?
Joe