> -----Original Message-----
> From: Joselito H.Tagarao [mailto:joselito.t@chicagoconservation.com]
> function FindProxyForURL(url, host) {
> if (isInNet(host, "192.168.0.2", "255.255.255.0"))
> return DIRECT;
> return "PROXY 192.168.0.2:3128; DIRECT";
> }
I think DIRECT should be in quotes on the third line. i.e.:
function FindProxyForURL(url, host) {
if (isInNet(host, "192.168.0.2", "255.255.255.0"))
return "DIRECT";
return "PROXY 192.168.0.2:3128; DIRECT";
}
I've found that if I make a syntax error in my .pac file, often one browser
will use it fine and another will ignore it. There isn't much consistency
in how these things are handled, and Mozilla seems to be pickier than IE.
Received on Mon Jun 28 2004 - 11:56:50 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Jul 01 2004 - 12:00:03 MDT