Forum Discussion
Dec 26, 2013
BIG-IP : redirect loop : debugging techniques
BIG-IP 11.4.0 Build 2384.0 Final
In my hosts file I point www.mydomain.com to my web-server IP, and in my client-browser I submit the request
http://www.mydomain.com/natural-language-url-1 ...
nitass
Dec 27, 2013Employee
can you run curl on f5 and post the output?
curl -v -H "Host: www.mydomain.com" http://pool_member_ip/natural-language-url-1
curl -v -H "Host: www.mydomain.com" http://virtual_server_ip/natural-language-url-1
- Dec 27, 2013C:\Windows\System32>curl -v -H "Host: www.mydomain.com" http://10.23.0.2/natural-language-url-1 |more * About to connect() to 10.23.0.2 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 10.23.0.2 (10.23.0.2) port 80 (0) > GET /natural-language-url-1 HTTP/1.1 > User-Agent: curl/7.27.0 > Accept: */* > Host: www.mydomain.com > < HTTP/1.1 200 OK I'm leaving the rest out because it's a few thousand lines of content ( headers, cookies, html ).
- nitassDec 27, 2013Employeewould you mind running curl on f5 command line please?
- Dec 27, 2013C:\Windows\System32>curl -v -H "Host: www.mydomain.com" http://10.25.0.2/natural-language-url-1 |more * About to connect() to 10.25.0.2 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 10.25.0.2 (10.25.0.2) port 80 (0) > GET /natural-language-url-1 HTTP/1.1 > User-Agent: curl/7.27.0 > Accept: */* > Host: www.mydomain.com > < HTTP/1.1 302 Found < Date: Fri, 27 Dec 2013 03:04:10 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 --:--:-- --:--:-- --:--:-- 2936 * Connection 0 to host 10.25.0.2 left intact *Object moved Object moved to here. Closing connection 0
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