cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Windows XP NO_PROXY Variable

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Thu, 25 Aug 2005 19:14:22 +0200 (CEST)

On Thu, 25 Aug 2005, Eriksson, Andreas (A.E.) wrote:

> I want to use the NO_PROXY environment variable to bypass the proxy server
> for the internal sites. Is it possible in a Windows environment to get the
> NO_PROXY setting to work and if so how do I do it?

I believe you can.

      no_proxy=domain1.dom,host.domain2.dom
         (a comma-separated list of hosts which should
         not be proxied, or an asterisk to override
         all proxy variables)

But note that -x overrides this (iirc), so you probably need to set the http
proxy using the http_proxy environment variable.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-08-25