Our campus employs proxy server with authentication.

So, I have to apply http://username:password@proxyIp:port/ bash configure file(suppose for wget or curl) or manually entering details for every graphical application (like gtalk), and also if I work with localhost (XAMPP),

I have to configure XAMPP, and so on. If I have my proxy password changed I have to change it everywhere on the system! Is there a way I can apply proxy settings system-wide at one place.Even though I am asking for Linux, I would like to know it on windows also.

link|improve this question
feedback

migrated from stackoverflow.com Nov 26 '11 at 16:24

This question came from our site for professional and enthusiast programmers.

1 Answer

Usually the http_proxy enviroment variable can be set to configure the proxy settings and all applications should read that variable but it is not mandatory for them to do.

The http_proxy setting can be set in $HOME/.bashrc or similar.

link|improve this answer
But that doesn't apply to, for example a server running on localhost. If I am testing a website locally which will get some information from internet, it wouldn't connect.Well bash applies to many but not all! – Sravan Nov 28 '11 at 16:02
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.