disturbedone
Vendor
I couldn't find a forum specifically for this but would imagine those who know Apache would know this too (hopefully).
I have a PAC file that was working with our old proxy server but we have problems with the new proxy server. My understanding of it was that anyting on 10.0.0.0 and 172.0.0.0 would not go anywhere near the proxy server but it appears that's not the case (I believe the old proxy server didn't care/didn't know and let it work).
The file is as follows....
I modified it and accessing servers in our DMZ works with no problems but accessing is a problem because it's going through the proxy server.
So the question is - what is the correct syntax to make 10.x.x.x and 172.x.x.x and localhost addresses bypass the proxy????
thx
I have a PAC file that was working with our old proxy server but we have problems with the new proxy server. My understanding of it was that anyting on 10.0.0.0 and 172.0.0.0 would not go anywhere near the proxy server but it appears that's not the case (I believe the old proxy server didn't care/didn't know and let it work).
The file is as follows....
Code:
function FindProxyForURL(url, host)
{
if ( (isInNet(host, "10.0.0.0", "255.0.0.0")) || (isInNet(host, "172.0.0.0", "255.0.0.0")) || (host == "127.0.0.1" || host == "localhost"))
return "DIRECT";
else
return "PROXY 172.20.95.19:8080";
}
I modified it and accessing servers in our DMZ works with no problems but accessing is a problem because it's going through the proxy server.
Code:
function FindProxyForURL(url, host)
{
if ( (isInNet(host == "127.0.0.1" || host == "localhost"))
return "DIRECT";
else
return "PROXY 172.20.95.19:8080;DIRECT";
}
So the question is - what is the correct syntax to make 10.x.x.x and 172.x.x.x and localhost addresses bypass the proxy????
thx