WinHTTP Proxy Configuration Utility


When you work with ServerXMLHTTP , you need to use the WinHTTP Proxy Configuration utility (Proxycfg.exe) to access your HTTP servers through a proxy server. Proxycfg.exe updates the registry with your proxy configurations, so you must have local administrative rights on the machine before running the program. Proxycfg.exe settings are machine specific, not user specific. Note that WinHTTP proxy settings are different from Internet Explorer proxy settings. Changing your proxy settings in Internet Explorer will not affect ServerXMLHTTP.

Table 16-2 lists the parameters that Proxycfg.exe supports.

Table 16-2: WinHTTP Proxy Configuration Parameters

Parameter

Description

Example

-d

Specifies that all HTTP and HTTPS servers should be accessed directly, without a proxy.

Proxycfg “d

-p proxy-server-list optional-bypass-list

Lists the proxy servers to use and an optional host list that should be accessed by bypassing the proxy servers.

The following example accesses all hosts using myproxy or myhttpsproxy, except hosts without a period in their name , local hosts , or any host in the microsoft.com domain.

Proxycfg “p "http=myproxy https=myhttsproxy" "<local>;*.microsoft.com"

-u

Imports the Internet Explorer proxy settings. Autodiscovery and configuration script “based proxy settings are not supported.

Proxycfg “u




Programming Microsoft Outlook and Microsoft Exchange 2003
Programming MicrosoftВ® OutlookВ® and Microsoft Exchange 2003, Third Edition (Pro-Developer)
ISBN: 0735614644
EAN: 2147483647
Year: 2003
Pages: 227
Authors: Thomas Rizzo

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net