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...
Mic_108850
Altostratus
May 11, 2010Thanks Aaoron
and if i have 2 different requested domains i have to present 2 different hostname to the origin dependind of the requested host, can i use an irule like this:
when HTTP_REQUEST {
if { [HTTP::header "Host"] eq "game1.domain.com" } {
HTTP::header replace Host org-game1.domain.com
}
if { [HTTP::header "Host"] eq "game2.domain.com" } {
HTTP::header replace Host org-game2.domain.comm
}
}
is the syntax correct?
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
