Editing the Web.Config File

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

After your proxy server is set to allow connections to the Internet, you can set Windows SharePoint Services to allow connections to the Internet. You do this by editing your Web.config file. The Web Capture Web Part and the online Web Part gallery, for example, require access to the Internet.

Find the Web.config file in the root of the virtual server or virtual servers that have been extended with Windows SharePoint Services. For example, the path to the Web.config file might be C:\Inetpub\wwwroot\web.config. In the Web.config file, after the </SharePoint> tag, add the following tags to configure Windows SharePoint Services to make connections to the Internet through your outbound proxy server, where http://myproxy:8080 is the address and TCP port to connect to the outbound proxy servers private network interface.

<system.net> <defaultProxy> <proxy proxyaddress="http://myproxy:8080" bypassonlocal="true" /> </defaultProxy></system.net>

Note that you must make this change to the Web.config files for each virtual server on each server computer in your server farm.

Show: