Forum Discussion
Brian_Mayer_841
Nimbostratus
Mar 04, 2008Host header replace not working....
Hey all,
We're trying to replace the host portion of URLs for one of our virtual servers if they match a certain host string. I found the example below and applied it to the virtual server ...
Nicolas_Menant
Employee
Mar 04, 2008HTTP_request manipulate HTTP data that is being sent to the server
this iRule will only change the HOST header between the bigip and the servers.
On your browser you will always see the old URL since it will be based on the code provided by the web page.
So if you want to see another URL in the browser it means you'll need to rewrite all the HTML content coming from the servers. you will need to use the HTTP_RESPONSE event to do so
To do such a thing, you may have a look at the STREAM command Click here
or look into the forum you'll see a lots of post about that.
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