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 to virtual-server vip :
C:\Windows\System32>curl -v -H 10.25.0.2 www.mydomain.com/natural-language-url-1 |more
* About to connect() to www.mydomain.com port 80 (0)
* Trying 10.25.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.25.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 302 Found
< Date: Fri, 27 Dec 2013 02:42:52 GMT
< Server: Microsoft-IIS/6.0
< P3P: CP="CAO PSA OUR"
< Etag:
< X-mydomainHost: XX-XX-XX-01
< X-Powered-By: ASP.NET
< PICS-Label: (PICS-1.0 "http://www.rsac.org/ratingsv01.html" l by "support@mydomain.com" on "2008.12.01T18:21-0800" exp "2035.12.31T12:00-0800" r (v 0 s 0 n 0
l 0))
< X-AspNet-Version: 4.0.30319
< Location: http://www.mydomain.com/natural-language-url-1
< Set-Cookie: lsCKE=ors=otcomqanew; domain=.mydomain.com; path=/
< Cache-Control: private
< Content-Type: text/html; charset=utf-8
< Content-Length: 185
<
{ [data not shown]
100 185 100 185 0 0 2371 0 --:--:-- --:--:-- --:--:-- 2983
* Connection 0 to host www.mydomain.com left intact
*Object moved
Object moved to here.
Closing connection 0