BTW, my wpad.dat looks like this (maybe it can be optimized?): ---- function FindProxyForURL(url, host) {
//############### //#Local Network# //###############
if (isInNet(host, "10.0.2.0", "255.255.254.0")) { return "DIRECT"; }
//######### //#Default# //#########
return "PROXY 10.0.2.2:3128;"
}
BTW, my wpad.dat looks like this (maybe it can be optimized?): (url, host) {
----
function FindProxyForURL
//###############
//#Local Network#
//###############
if (isInNet(host, "10.0.2.0", "255.255.254.0"))
{
return "DIRECT";
}
//#########
//#Default#
//#########
return "PROXY 10.0.2.2:3128;"
}