Forum Discussion
Dharmendra_2243
Nimbostratus
Nov 09, 2010redirection but url not change on browser
Forward all http requests for http://test.abc.com/try to http://pass.xyz.com The idea here is to maintain the URL as http://test.abc.com/try on the user’s browser while the content/site served up is f...
naladar_65658
Altostratus
Nov 09, 2010Something like this should work for you Dharmendra:
when HTTP_REQUEST {
if { [HTTP::header host] eq "test.abc.com" } {
HTTP::header replace Host "pass.xyz.com"
}
}
The users will still use the URL test.abc.com, their URL will stay the same and the data that is passed on to the servers will contain the new host header info.
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