Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I set the global settings of the machine to use an autoproxy configuration script. e.g. http://autoproxy.mycompanydomain.exe:8080, but still there are some network apps that require an explicit proxy setting. I assume that this is because those apps don't know how to access the global proxy settings. How can i see the global proxy settings that were configured automatically so i can copy them to the settings of these troublesome apps?

share|improve this question
up vote 4 down vote accepted

If you are using explicit URL to the autoproxy script, then just download it and read it (it is a JavaScript script). You will find the proxy URL there and some rules, e.g. what URLs not to use the proxy for. Please note, though, that, as complicated logic may be implemented in JavaScript, sometimes the configuration cannot be precisely entered in any application 'proxy configuration' window (which usually are only 'proxy server URL' field and 'no proxy for' list).

You can see the configuration script with, e.g.:

curl http://autoproxy.mycompanydomain.exe:8080

If you don't use explicit script URL, you may try:

curl http://wpad/wpad.dat


curl http://wpad.yourdomain/wpad.dat

Of course anything else than 'curl' may be used to download the data, though web browsers may try to interpret the script instead of just displaying it.

Many Linux application (including wget or curl) use the $http_proxy/$HTTP_PROXY, $HTTPS_PROXY and $NO_PROXY environment variables for proxy configuration. You may put your 'global settings' there (e.g. via your ~/.profile)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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