LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   wget - where is it getting proxy information? (https://www.linuxquestions.org/questions/linux-newbie-8/wget-where-is-it-getting-proxy-information-547959/)

gandalfrat 04-21-2007 08:02 PM

wget - where is it getting proxy information?
 
Greetings,

My RHEL4 Linux environment was setup by someone else. I'm trying to wget a web site but when I execute the wget command, it says that it's trying to contact a proxy server.

Where is it getting the proxy server information?

There is no http_proxy variable set in the environemnt as near as I can tell (logged in as root, ENV and SET executed at the command line do not reveal any env. var. named http_proxy).

Thanks for pointers,

GR

nadroj 04-21-2007 08:32 PM

can you try and specify the option to not use a proxy server, as found in the manual page:
Code:

      --no-proxy
          Don't use proxies, even if the appropriate *_proxy environment
          variable is defined.


gandalfrat 04-21-2007 11:16 PM

I hear you. I know that works but I'm wondering where wget is getting the proxy information in the first place?

if I type

wget http://www.mywebsite.com

then wget reports that it is checking for proxy (with the name of some proxy within my company's domain) but then fails because it can't find it. Just wondered where it's getting that information so I don't run into this with other command-line tools (like Lynx).

Thanks,

Glen

nadroj 04-21-2007 11:38 PM

is there any environment variable set that has 'proxy' in it? (ie rather than specifying 'http_proxy') also check for a configuration file for wgetc (perhaps ~/.wgetcrc or some 'global' one in one of the folders where wgetc is installed) that may specify a proxy to use in the file.
maybe its not anything to do with wget, and everything you do is behind a proxy?

to be honest i dont know, just tossing some ideas.


All times are GMT -5. The time now is 03:52 AM.