Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Aug 2005 16:32:42 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        questions@FreeBSD.org
Subject:   Setting HTTP_PROXY for all users
Message-ID:  <20050830153242.GA74299@submonkey.net>

next in thread | raw e-mail | index | archive | help

--UugvWAfsgieZRqgk
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I want to set HTTP_PROXY for all users on my machine, and I'd like to do
it in /etc/login.conf as then it's only in one place.

However, I need to put a colon in for the port number and can't see how
to escape it so that the entry doesn't get chopped off halfway through.
None of these work:

	:setenv=3DHTTP_PROXY=3Dwww-cache.private.submonkey.net:3128:\

	:setenv=3DHTTP_PROXY=3Dwww-cache.private.submonkey.net\:3128:\

	:setenv=3DHTTP_PROXY=3D"www-cache.private.submonkey.net:3128":\

Is there a way to do this, or should I just throw this in /etc/profile
and /etc/csh.cshrc instead?

Ceri
--=20
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)

--UugvWAfsgieZRqgk
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDFHwaocfcwTS3JF8RAu4jAJ9nNvid0gUMsqdQC0aqAlwsOIWygACgyonl
XkIMIx8U9em5Bzfn6yxRtQI=
=PeSO
-----END PGP SIGNATURE-----

--UugvWAfsgieZRqgk--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050830153242.GA74299>