Mate_132781
Nov 18, 2015Cirrostratus
Change HTTP host to selected pool member IP address
Hi,
I have BIG-IP LTM 11.6 HF6 with public IP address and two WEB servers with private IP addresses in pool.
Problem is that WEB server expects it's private IP address in host field in HTTP header so I need to modify host filed to IP address od selected pool member.
I tried with few options, but nothing works.
For example:
when HTTP_REQUEST_SEND {
{
HTTP::header replace Host "[IP::server_addr]"
}
}
or
when HTTP_REQUEST_RELEASE {
HTTP::header replace Host "IP::server_addr"
}
On the other hand, if I put static IP in host header (just for one of pool members), things are working (just for that one server):
when HTTP_REQUEST_RELEASE {
HTTP::header replace Host "10.24.143.19"
}
Pls give me some advice.
BR, Mate