Search squid archive

Squid Woes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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/


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux