> -----Original Message-----
> From: Joselito H.Tagarao [mailto:[EMAIL PROTECTED]

> 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.

Reply via email to