schoekek
Nov 12, 2019Nimbostratus
Big IP AWS Edition
I would like rewrite the Host Header with pendency of pool Member.
I try the following:
when LB_SELECTED {
if { [LB::server addr] contains "194.76.212"} {
HTTP::header replace "Host" "ff.geobasis.de"
#log local0. "Node FF: [LB::server addr]"
}
if { [LB::server addr] contains "194.76.232"} {
HTTP::header replace "Host" "zit.geobasis.de"
#log local0. "Node ZIT: [LB::server addr]"
}
}
It's not worked...
Any idea for solution?