Forum Discussion
Chris_Chaloux_1
Nimbostratus
Apr 16, 2009Modify URI on redirect
Is it possible to set the final URI of a request when using an HTTP::redirect?
I'd like requests that come into http://example.com to be redirected to a page on a back end server. The redirect is working fine but the URI is obviously that of the resource the request was forwarded to. Is there a way to mask or change the end result URI so it appears as though the redirect is "behind the scenes"?
Thanks!!
Chris
1 Reply
- hoolio
Cirrostratus
Hi Chris,
You can use HTTP::uri "/new_uri" (Click here) to rewrite the URI before the request is sent to the pool. This should be transparent to the client assuming the web application doesn't use the requested URI to generate response headers/content.
Aaron
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
