Forum Discussion
fusky_116783
Nimbostratus
May 08, 2013Remove or change the URI doesn't work
Hi.
I want to change the original URI, but it doesn't work:
HTTP::uri "PPPPP"
log local0. "New Uri-->[HTTP::uri]<--"
If I watch the log, i can see --> : New Uri-->/original_uri<-...
Kevin_Stewart
Employee
May 08, 2013There's potentially a few things going on here. In most BIG-IP versions, changing the uri value using the [HTTP::uri] "something" syntax will change the flow context, but will not actually change [HTTP::uri] from its original value. Strange I know. So changing the uri within the event should cause the uri to change in the context of the event, but you won't be able to see those changes by logging the value of [HTTP::uri]. Also, a uri will always start with "/", so by changing it to "PPPP" without a leading "/" would likely break the request.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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