Forum Discussion
Fluidetom_12222
Cirrus
Oct 04, 2013How to use only part of the uri ?
Hey,
I have a very simple iRule to redirect the traffic to another URL if the uri start with a string (in my case "/api").
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/api" } {
...
Jurgen_Julius
Nimbostratus
Oct 04, 2013You could use the 'string trimleft' to strip any leading characters.
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