Forum Discussion
Thomas_Gobet
Nimbostratus
Sorry I made a mistake with my copy/paste...
This should be better :
when HTTP_REQUEST {
if { [string tolower [HTTP::host]] equals "vserver.domain.com"} {
HTTP::header replace Host "poolmem1.domain.com"
}
}
when HTTP_RESPONSE {
if { [string tolower [HTTP::header Location]] equals "poolmem1.domain.com"} {
HTTP::header replace Location "vserver.domain.com"
}
}
Luis_Pablo_1189
Dec 19, 2013Nimbostratus
Thanks Thomas,
but the client's web browser still getting poolmem1.domain.com URL field. I'll do some Wireshark captures to try to figure out what is going on.