Forum Discussion
Neeharika_Redd1
Nimbostratus
Mar 18, 2015HTTP::URI not working
Hi,
I have a scenario where all HTTP::URI should be appended with "test". For example, below is my iRule -
when HTTP_REQUEST {
HTTP::uri [HTTP::uri]/test
log loca...
Michael_Jenkins
Cirrostratus
Mar 18, 2015When you use the
HTTP::uri method in an iRule, it changes the URI on that request to whatever you set it to, but that doesn't change the client's URI. The back-end server will see the URI as the updated value, but not necessarily the client.
A way to make this work would be to perform a redirect instead (
HTTP::redirect) using the new uri, which would redirect the client to the desired page and change the browser url.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