Home > SharePoint, TechNotes > Configuring a web application for proxy

Configuring a web application for proxy


For some mysterious reason, the web proxy auto detect setting in the web.config file for a web application does not work that well. Thankfully it’s possible to specify proxy settings manually in the web.config file by adding the following entries in the <system.net> section:

<defaultProxy>
   <proxy proxyaddress="http://%5BServerIP%5D:%5BPort%5D&quot; bypassonlocal="true" />
   <bypasslist>
     <add address="myOwnDomain.com" />
   </bypasslist>
</defaultProxy>

To revert to the default auto detect setting, replace the section above with the following:

<defaultProxy>
    <proxy autoDetect="true" />
</defaultProxy>

N’Joy!

Advertisements
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: