Forum Discussion
John_Alam_45640
Historic F5 Account
Do curl -v -H servername.com http://...... To both the virtual and the server. See if either succeeds, and if the results are different.
Post here the entire redirect response So we see the server header.
Check server events log it should tell you why it is redirecting.
It is also possible that the server is not accepting connections from the selfip subnet. You have SNAT automap on the VIP.
Dec 27, 2013
Here is curl request direct to web-server :
C:\Windows\System32>curl -v -H web-server-1.devtest.mydomain.com www.mydomain.com/natural-language-url-1 |more
* About to connect() to www.mydomain.com port 80 (0)
* Trying 10.23.0.2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* connected
* Connected to www.mydomain.com (10.23.0.2) port 80 (0)
> GET /natural-language-url-1 HTTP/1.1
> User-Agent: curl/7.27.0
> Host: www.mydomain.com
> Accept: */*
>
< HTTP/1.1 200 OK
I'm leaving the rest out because it's a few thousand lines of content ( headers, cookies, html ).