Forum Discussion
AlexS_yb
Mar 20, 2021Cirrocumulus
irule plus switch plus globbing
Hi switch -glob [string tolower [HTTP::path]] { "/testsso/logout" - "/testsso/logout/*" { } } I want this to match /testsso/logout and ////testsso/logout can i ...
Mar 24, 2021
Hi AlexS_yb,
Hope this helps.
when HTTP_REQUEST {
if { [string map {"/" ""} [HTTP::uri]] starts_with "testssologout"} {
#log local0. "[HTTP::uri]"
}
}
I could not find how to do it with regex.
- AlexS_ybMar 24, 2021Cirrocumulus
Hmm, okay i see how to do it for if then.. I guess I can move that to switch.
cause iam rather new to F5. I have found also you can do HTTP::uri -normalized which removes all of the extra stuff
thanks
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