I am struggling to find out how to disable this.
wget http://myserver.acme.com:8001/gridlinkha --2013-07-03 13:40:15-- http://myserver.acme.com:8001/gridlinkha Resolving myserver.acme.com... 1.2.3.4 Connecting to myserver.acme.com|1.2.3.4|:8001... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://lbr.acme.com/gridlinkha/ [following] --2013-07-03 13:40:15-- http://lbr.acme.com/gridlinkha/ Resolving lbr.acme.com... 5.6.7.8 Connecting to lbr.acme.com|5.6.7.8|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1308 (1.3K) [text/html] Saving to: `index.html' setting max-redirect=0 makes the request fail altogether: wget --max-redirect 0 http://myserver.acme.com:8001/gridlinkha --2013-07-03 13:51:14-- http://myserver.acme.com:8001/gridlinkha Resolving myserver.acme.com... 1.2.3.4 Connecting to myserver.acme.com|1.2.3.4|:8001... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: http://lbr.acme.com/gridlinkha/ [following] 0 redirections exceeded.
No comments:
Post a Comment