Forum Discussion
thethe94_91706
May 10, 2011Nimbostratus
redirect and rewriting
how i can erase this post ?
hooleylist
May 11, 2011Cirrostratus
If you want to hide the rewriting of the Host header from the client, you'd want to use:
HTTP::header replace Host "testctv-intra"
Note that the Host header must not contain the protocol or any part of the URI.
Using HTTP::redirect will trigger LTM sending a 302 redirect to the new location. The change will be displayed in the address bar on the browser.
Do you want to rewrite any request which contains urba so that the host is testctv-intra? When do you want to rewrite the URI to /wiki? Only when the client requests /urba?
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