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 ...
Sorry ok now I get it : you want curl from f5 command line.
Dec 27, 2013
f5 command line curl to virtual-server vip :
curl -v -H "Host: www.mydomain.com" http://10.25.0.2/natural-language-url-1 |less
* About to connect() to 10.25.0.2 port 80 (0)
* Trying 10.25.0.2... 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.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 OpenSSL/0.9.8y zlib/1.2.3 libidn/0.6.5
> Accept: */*
> Host: www.mydomain.com
>
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0< HTTP/1.1 302 Found
< Date: Fri, 27 Dec 2013 03:24:06 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]
185 185 185 185 0 0 6585 0 --:--:-- --:--:-- --:--:-- 7708* Connection 0 to host 10.25.0.2 left intact
* Closing connection 0
Object moved
Object moved to here.
(END)
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