Forum Discussion
URL Header changes to Node name.
We implemented VDI VMware View using the F5 deployment doc, its working great except for one issue. When the VIP load balances to one of the Pool Memeber Nodes, the clients browser URL chnages to the dns host name of the Pool member node. We need the VIP DNS Name
throughout the session. Only happens to this new VIP config all other VIPS work correctly.
5 Replies
- Thomas_Gobet
Nimbostratus
Could you check if the redirect HTTP is coming from your webserver or from your LTM configuration ? I think it's from your WebServer, and your BIG-IP is just forwarding it to your client.
- Gill_32697
Nimbostratus
I asked the systems teams. they say they are not doing any redirects. This is really a straight forward Round Robin config. Doesnt call for any redirects. There are lots of profiles, Oneconnect, http Compression, Http Acceleration. Could one of those be the issue?
- Thomas_Gobet
Nimbostratus
The issue is not due to your profiles I think.
Just to be sure it's not coming from your webserver, could you apply this iRule to your Virtual Server :
when HTTP_RESPONSE { if { [HTTP::is_redirect] } { HTTP::header remove Location HTTP::header insert Location "http://your_Original_DNS_name" } }If there's any redirect coming from your webserver it'll be removed and replaced by your Original_DNS_name.
- Gill_32697
Nimbostratus
This irule could work but there are three different names mapped to the VIP, depending if you are connecting Internal, Externail or from India. So if you can make the irule preserve URL into the header would work. Since I would be able to hard code the DNS name into the irule.
- Thomas_Gobet
Nimbostratus
Here is the iRule giving you the ability to replace informations coming from your webservers with the original fqdn requested.
when HTTP_REQUEST { set Origin "[HTTP::host][HTTP::uri]" } when HTTP_RESPONSE { if { [HTTP::is_redirect] } { HTTP::header remove Location HTTP::header insert Location "http://$Origin" } }
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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