LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2007, 08:02 PM   #1
gandalfrat
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Rep: Reputation: 0
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
 
Old 04-21-2007, 08:32 PM   #2
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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.
 
Old 04-21-2007, 11:16 PM   #3
gandalfrat
LQ Newbie
 
Registered: Apr 2007
Posts: 5

Original Poster
Rep: Reputation: 0
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
 
Old 04-21-2007, 11:38 PM   #4
nadroj
Senior Member
 
Registered: Jan 2005
Location: Canada
Distribution: ubuntu
Posts: 2,539

Rep: Reputation: 60
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wget with https and proxy in redhat sudevank Linux - Software 3 03-29-2007 01:36 AM
wget through proxy TheRealDeal Linux - Networking 5 09-14-2005 06:07 AM
wget with proxy? Cornholio Linux - Software 8 01-13-2005 02:12 AM
wget proxy problem henryluo Linux - Newbie 1 07-05-2004 06:31 PM
wget won't authenticate with a MPS 2.0 Proxy graywind Linux - Networking 0 12-16-2003 01:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:05 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration