Forum Discussion
Does particular irule need to be tweaked?
Created an irule below but it only seems to work for lowercase not uppercase. Do I have to add another line or can it be tweaked to catch anything? "coordinatororporttype"
when HTTP_REQUEST { if { [string tolower [HTTP::uri]] contains "/wls-wsat/coordinatorporttype" } { log local0. "matched URI [HTTP::uri]" drop } }
- nitassEmployee
it should also work for the uppercase. can you try to add logging before the if sentence?
e.g.
log local0. "URI is [HTTP::uri]"
- WaynengiNimbostratus
not sure what you mean?
- nitassEmployee
e.g.
when HTTP_REQUEST { log local0. "URI is [HTTP::uri]" if { [string tolower [HTTP::uri]] contains "/wls-wsat/coordinatorporttype" } { log local0. "matched URI [HTTP::uri]" drop } }
- WaynengiNimbostratus
I'll do some testing. I take that will show in the log file of what's happening. Right?
- nitass_89166Noctilucent
it should also work for the uppercase. can you try to add logging before the if sentence?
e.g.
log local0. "URI is [HTTP::uri]"
- WaynengiNimbostratus
not sure what you mean?
- nitass_89166Noctilucent
e.g.
when HTTP_REQUEST { log local0. "URI is [HTTP::uri]" if { [string tolower [HTTP::uri]] contains "/wls-wsat/coordinatorporttype" } { log local0. "matched URI [HTTP::uri]" drop } }
- WaynengiNimbostratus
I'll do some testing. I take that will show in the log file of what's happening. Right?
- oguzyCirrostratus
You check the ltm log using "tail -f" parameter, right?
Recent Discussions
Related Content
* 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