I have a squid proxy server running. Its setup.
The proxy server is sitting on one box (Box A)
On another box (on Box B), I have the GNU wget
utility installed for test purposes
(in other words, wget is on Box B to test squid on
Box A).
The question is, what is the syntax to tell
wget to fetch say "http://www.yahoo.com", but
to specify that is has to use the proxy
server on box A that is listening on port
80.
Box B Box A
|--------| |------------|
| | | Squid Prxy |
----| wget |<----->| listening |<-----> Internet
| | | on port 80 |
|--------| |------------|
I dont see on the wget command line where you
can specify the proxy server. Is it specified
right in the URL using a special URL syntax
where that proxy information is embedded in
the URL?
Or is it specified through the use of .wgetrc
file or environment variables.
Can someone provide various examples on how
to do this DIFFERENT WAYS.
Thank You,
Milton
> I dont see on the wget command line where you
> can specify the proxy server. Is it specified
> right in the URL using a special URL syntax
> where that proxy information is embedded in
> the URL?
I believe it is the PROXYSERVER environment variable. Check the man
page or something. I'm sure it's a variable like that that will work.
--
Darren Dunham ddu...@taos.com
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
In your .wgetrc, put:
http_proxy = http://proxy_name:portno/
Don Woodward
"Milton Vega" <ho...@m-vega.com> wrote in message
news:3ECC456B...@m-vega.com...
Thanks to all,
Milton