Forum Discussion
Adrian_Turcu_10
Nimbostratus
Oct 30, 2007Help With HTTP_RESPONSE
Hello Gurus
Could someone help me with a quick rule to replace a header in the response back to the client, please?
My problem is like follows: we have a poxi app (not proxy) and t...
Adrian_Turcu_10
Nimbostratus
Oct 30, 2007Nice and slick, thanks.
In the HTTP_RESPONSE, do I have visibility to the headers send back by the app? I am interesting the "Location:" header which comes from the app server in this form:
Location: http://127.0.0.1/some/path/to/redirect
I need to replace the content of that header with
Location: ://$shost/some/path/to/redirect
where $shost is picked up in the HTTP_REQUEST and the should be the same that the client originally requested (could be either HTTP of HTTPS, so it is not always HTTPS or HTTP), which I believe that can be pickeup on the HTTP_REQUEST as well.
Thanks,
Adrian
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