Forum Discussion
Mic_108850
Altostratus
May 10, 2010host header presented to origin server
Hello,
I have one server (x.x.x.x) in a "pool1"
i'm using a virtual server "VS1" calling this "pool1"
i created a web_app and a class_profile attache to the VS1.
the orig...
hoolio
Cirrostratus
May 11, 2010Hi Mic,
You can use an iRule like ProxyPass to proxy a web app internally as a different one externally. I don't know how such an iRule would interact with Web Accelerator though, so you might see if anyone else has suggestions.
http://devcentral.f5.com/wiki/default.aspx/iRules/proxypass (v9.x)
http://devcentral.f5.com/wiki/default.aspx/iRules/proxypassv10 (v10.x) Or if it's really just a matter of rewriting the host header, you can use a simple iRule like this:
when HTTP_REQUEST {
Replace the Host header with game.domain.com
HTTP::header replace Host "game.domain.com"
}
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
