Re: [squid-users] Curl vs Wget on Squid

From: Henrik Nordstrom <henrik_at_henriknordstrom.net>
Date: Fri, 21 Aug 2009 04:35:09 +0200

tor 2009-08-20 klockan 12:51 +0200 skrev jose luis sanchez:

> wget --proxy localhost:3128 "http://localhost:8080/MyApplication"

The correct way of using a proxy with wget is

env http_proxy=http://localhost:3128 wget http://localhost:8080/MyApplication

You normally do not need to specify the --proxy option to wget, it's
automatically set if there is an http_proxy environment variable.
Specifying --proxy is only needed if you have an .wgetrc specifying
--no-proxy and still want to use the proxy..

Regards
Henrik
Received on Fri Aug 21 2009 - 02:35:15 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 21 2009 - 12:00:03 MDT