[squid-users] Squid Woes

From: Douglas Sterner <douglas_sterner@dont-contact.us>
Date: Thu, 12 Jan 2006 08:40:44 -0500

Using Squid 2.5 Stable 9 on Suse 9.3 and NTLM auth we are having trouble
rendering larger pdf files when using automatically detect on IE 6. If we
hard code the proxy it seems to work fine. Could someone look over my new
wpad.dat and point out my errors. IP's were changed to protect the innocent.

Thanks

Douglas Sterner

function FindProxyForURL(url, host)
{
//if name is in our domain, or starts with 192.168.999. don't use proxy
if(isPlainHostName(host) ||
        dnsDomainIs(host,".mydomain.lcl") ||
        host.substring(0,12)=="192.168.999." ))
        return "DIRECT";
else if (isInNet(myIpAddress(), "192.168.998.0", "255.255.255.0")) //A
        return "PROXY 192.168.998.3:3128";
else if (isInNet(myIpAddress(), "192.168.997.0", "255.255.255.0")) //B
        return "PROXY 192.168.997.3:3128";
else if (isInNet(myIpAddress(), "192.168.996.0", "255.255.255.0")) //C
        return "PROXY 192.168.996.3:3128";
else if (isInNet(myIpAddress(), "192.168.995.0", "255.255.255.0")) //D
        return "PROXY 192.168.996.3:3128";
else if (isInNet(myIpAddress(), "192.168.994.0", "255.255.255.0")) //E
        return "PROXY 192.168.996.3:3128";
else
        return "DIRECT";
}

_________________________________________________________________
Don’t just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
Received on Thu Jan 12 2006 - 06:40:48 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:01 MST