Forum Discussion
Dbow_21284
Nimbostratus
May 18, 2010Rewrite Host Header iRule on VS that changes to HOST Header on same VS
Hello guys,
I have a situation where our developers have a sight running on HTTPS that needs to rewrite the host header to a new host header, but DNS points it to the same VS on my LTM. I...
hoolio
Cirrostratus
May 18, 2010Hi Denbownium,
Does the application use hardcoded references to the wrong hostname in response headers and/or payloads? You can use a browser plugin like HttpFox for Firefox or Fiddler for IE to view the HTTP headers and response payloads coming from the application. If the app references itself with the wrong hostname, the client will get a cert for the new hostname and generate a cert mismatch warning.
You can use HTTP::header replace to rewrite response headers. And you can use a blank stream profile and STREAM::expression based iRule for rewriting response content.
Here is a related post:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=30137&ptarget=30139
Aaron
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
