Forum Discussion
Luis_Pablo_1189
Dec 18, 2013Nimbostratus
Pool member FQDN on server side, Virtual server name on client side web browser
Hi everyone!
I am having a hard time trying to find/figure-out an iRule that sends the FQDN (http://poolmem1.domain.com) to the selected pool member just on the server side, leaving the Virtual serve...
Thomas_Gobet_91
Cirrostratus
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.
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