Forum Discussion
michaelgardner
Jun 02, 2022Altocumulus
How to rewrite a path to a backend service dropping the prefix and passing the remaining path?
Hello, I am not sure whether my posting is appropriate in this area, so please delete it if there is a violation of posting rules...
This must be a common task, but I cannot figure out how to do t...
xuwen
Jun 03, 2022Cumulonimbus
when HTTP_REQUEST {
set uri [HTTP::uri]
if { $uri contains "anything" } {
HTTP::uri "/[join [lrange [split $uri "/"] 2 end] "/"]"
}
}
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