Philips wrote:
> Jim Reimer wrote:
>
>>Sent this to the list 25 hours ago, but never got a return
>>from vger. If you're seeing it as a dupe, I apologize....
>>
>>--------
>>
>>How do I get it to work?
>>
>>I have /usr/local/lib/wget.rc containing:
>>ftp_proxy = 192.168.0.1
>>http_proxy = 192.168.0.1
>>
>>I've also tried including the port settings for the proxy server
>>ftp_proxy = 192.168.0.1:2323
>>http_proxy = 192.168.0.1:2222
>>
>>but in all cases when I try to wget something it immediately
>>responds with "Host not found".
>>
>>Linux box is 192.168.0.5, and machine with proxy server /
>>internet connection is 192.168.0.1. DNS is not running on
>>either machine (Netscape is able to cope with this, is it
>>a problem for wget?).
>>
>>What am I missing?
>>
>>
>
> I didn't thought wget has this problem...
> Lynx, for eaxample, require env. var. http_proxy to be fully qualified URL -
> e.g.
>
> http_proxy=http://localhost:3128/ lynx www.somewhere.com
>
> so try this:
>
> ftp_proxy = http://192.168.0.1:2323/
> http_proxy = http://192.168.0.1:2222/
>
>
You are correct. All the man page says is http_proxy = STRING, and
I wasn't sure what was supposed to go into STRING. Then I noticed the
WARNING on the man page that says the information is "well out of
date" so I took a look at the info documentation and found good
examples there. Also found that the default location for wgetrc
has changed. Lesson learned: check info as well as man....
Thanks,
-jdr-
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs