[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Where to set http_proxy?



Hi,

* Reckhard, Tobias <tobias.reckhard@secunet.com> [030521 17:27]:
> Hello
> 
> Could anyone please tell me if there is a best place to set the system-wide
> environment variables http_proxy, ftp_proxy and no_proxy and the correct
> syntax? I've read about /etc/environment, /etc/profile appears to be a
> candidate as well. But I've been unable to find authoritative (for Debian)
> information yet.

This answer is hardly authoritative, but I would recommend
/etc/environment, over /etc/profile since the later assumes that all
users use a Bourne style shell.

example 

http_proxy="http://blah.blah:80/";

The trailings lash can be important for some programs that use the
proxy variables.

Nick.

-- 
Debian testing/unstable
Linux twofish 2.4.20-looxt93c7 #1 Thu May 15 18:07:35 JST 2003



Reply to: