Forum Discussion
winifred_corbet
Nimbostratus
Jan 24, 2011Replace HOST not working
We have a list of URIs that we added to a data group
For only those URIs in the datagroup, we need to change the Hostname, keeping the URI
This irule attempt is not working. Host name ...
Colin_Walker_12
Jan 25, 2011Historic F5 Account
To be clear, you're just looking to replace the host header, not actually redirect the user so that the browser's URL bar updates, right? If you re-write the host header on the LTM the request should arrive at the correct location but the user will not see the change to the host.
Quoting the wiki Click Here:
"To update the Host header value without redirecting the client to the new Host value, you can use HTTP::header replace Host "newhost.example.com". This update will only affect the request to the pool member. The client will not see the update unless the web application uses the requested host header value to generate response headers and/or content."
Colin
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
