Forum Discussion
Fready_Ball
Oct 14, 2020Nimbostratus
Modify blank URI
I am using this to modify get request in F5 to real server. if { [HTTP::uri] starts_with "/supervisor" } { HTTP::uri [string map {"/supervisor" "/admin"} [HTTP::uri]] } and it works OK. ...
- Oct 14, 2020
Hi Fready Ball,
You must use equals instead of starts_with.
if { [HTTP::uri] equals "/" } { HTTP::uri [string map {"/" "/user"} [HTTP::uri]] }
Hi Fready Ball,
You must use equals instead of starts_with.
if { [HTTP::uri] equals "/" } {
HTTP::uri [string map {"/" "/user"} [HTTP::uri]]
}
Fready_Ball
Oct 15, 2020Nimbostratus
Hi eaa, many thanks for your quick response. I will be testing this morning.
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