curl-users
FW: Windows XP NO_PROXY Variable
Date: Fri, 26 Aug 2005 09:31:16 +0100
Sry if this mail gets a new conversation but I hade disabled the mail
notification so I didn't get the mail so I could replay. Anyway here is
my next question.
I have created the _curlrc file and in that file I have created a line
like this:
proxy = 192.168.2.101:83
I have also tried entering this in the curl command line (renamed the
_curlrc file):
--proxy 192.168.2.101:83 -U username
Both of these work's fine and I can get out via the proxy to the
internet. But now I want to use the NO_PROXY environment variable to
stop curl from using the proxy for the internal sites. How do I use the
environment variable's? Shall I put them on the same line as the curl
command or shall I place them in a file or the operating system or what?
Help is very appreciated ;)
From: Daniel Stenberg (daniel-curl_at_haxx.se
<mailto:daniel-curl_at_haxx.se?Subject=Re:%20Windows%20XP%20NO_PROXY%20V
ariable> )
Date: 2005-08-25
> 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.
-----Original Message-----
From: Eriksson, Andreas (A.E.)
Sent: den 25 augusti 2005 10:26
To: curl-users_at_cool.haxx.se
Subject: Windows XP NO_PROXY Variable
Hello,
I work on a Windows XP PC on my job and I don't have access to
Unix/Linux PC. That said :D
I sit behind a proxy server and I have configured cURL so it can access
WebPages on the internet via the proxy server and that all works fine.
I have a Webb application in our intranet that I want to access with
cURL.
The Webb application redirects me to an external website to get the
information.
I have to access the internal web application before I can get the
information from the external website. So my problem is either I cant
access my internal web application or I cant follow it out to the
external site to get the information.
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?
<http://local.volvocars.ford.com/itsupport/>
//Andreas Eriksson
Received on 2005-08-26