Off the top of my head, this could easily be done in one of two ways.
1. If the program that needs to use a cascading proxy is a separate piece of software to the web browser, then you could create a second proxy server in WinGate, give it a unique name and port number, then point the application to the proxy.
*A new WWW Proxy can be created by right clicking inside the Services tab.
2. Use a WPAD file for proxy detection; when creating Web Proxy Auto Detection files, you should turn off caching of the WPAD on a selected LAN client you will test with; it means you can change the WPAD file in real-time; otherwise you may need to wait 30 mins for your changes to be seen:
http://support.microsoft.com/kb/271361/en-us
*I know there is a better way to do this, but I do not have all my resources currently available. I have added an example WPAD.DAT file below (Which I have not tested), as well as what to put into Internet explorer; there is a lot of information on WPAD via search engines; the WPAD.DAT file needs to be saved too C:\Program Files\WinGate\Resources\:
- Code:
function FindProxyForURL(url, host)
{
if (shExpMatch( host,"*update.microsoft.com*"))
return "PROXY x.x.x.x:8080";
else
return "PROXY x.x.x.x:80";
}
Internet explorer --> Tools menu --> Internet Options --> Connections --> LAN Settings --> Use Automatic Configuration Script -->
http://x.x.x.x/wingate-internal/resources/wpad.dat