Forum Discussion
JAIME_QUIROGA_1
Jul 23, 2014Nimbostratus
CHANGE THE HOST NAME IF THE CONNECT IS A POOL MEMBER
Hi
I need to change the hostname for "server1" if the connect is a pool member X and "server2" if the pool member is Y. In this case the client set the URL http://caso.com/ejemplo and the sessio...
Kevin_Stewart
Jul 23, 2014Employee
Ahh, yes the HTTP_REQUEST_RELEASE event was not available in v10. For the HTTP_REQUEST_SEND event, you'll need to explcitly call out the clientside context:
when HTTP_REQUEST_SEND {
switch [LB::server addr] {
"10.237.146.1" {
clientside {
HTTP::header replace Host "vmpesbserver:14002"
}
}
"10.237.146.2" {
clientside {
HTTP::header replace Host "vmpesbserver2:14002"
}
}
}
}
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