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" 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!
Comments (0)
Trackbacks (0)
Leave a comment
Trackback