Forum Discussion
Mrad_231364
Nov 02, 2017Nimbostratus
Blocking URI
Hello
I need to block a URI /example.ashx?f=WXR&auser=1134
i created a custom violation called VIOLATION_FORBIDDEN and created the below iRule and apply it on the VS. But it is not working...
Lee_Sutcliffe
Nov 02, 2017Nacreous
you are using
string tolower
but comparing it against a string that has upper case characters.
Try changing to this:
if {([string tolower [HTTP::uri]] contains "/example.ashx?fn=wxr&auser=1134")} {
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects