<html>My mistake was misunderstanding 
                isInNet.<br>I thought it was 
                isInNet( host, ipstart, ipend ) where your<br>ipstart <= host <= ipend, but it is really<br>
                isInNet( host, IP, MASK ).  They IP & MASK and see<br>whether your IP address matches that network.<br>
<br><br>
<br>
------------------------------<br>
<br>
Message: 14<br>
Date: Wed, 19 Sep 2007 11:55:30 +0930<br>
From: Tim <ignored_mailbox@yahoo.com.au><br>
Subject: Re: proxy autoconfig<br>
To: For users of Fedora <fedora-list@redhat.com><br>
Message-ID: <1190168730.2697.6.camel@localhost.localdomain><br>
Content-Type: text/plain<br>
<br>
tony.chamberlain@lemko.com:<br>
> function FindProxyForURL(url, host) {<br>
> <br>
>      if (isInNet(host, "10.0.0.0",  "10.255.255.255"))    {<br>
>         return "PROXY 192.168.5.15:8001";<br>
>      }<br>
> <br>
>      // All other requests are direct<br>
>      return "DIRECT";<br>
>   }<br>
<br>
I think you're missing an "else" in the line before "// All".<br>
<br>
Mine's like the following, although I'm doing the opposite of you<br>
(bypassing the proxy for local IP addresses, and using the proxy for<br>
anything I've not specifically listed).<br>
<br>
   --- begin below ---<br>
<br>
function FindProxyForURL(url, host)<br>
{<br>
        if (isPlainHostName(host)  ||<br>
                dnsDomainIs(host, ".localdomain") ||  <br>
                dnsDomainIs(host, ".google.com.au") ||  <br>
                dnsDomainIs(host, ".hotmail.com")  ||  <br>
                dnsDomainIs(host, ".passport.com") ||<br>
                isInNet (host, "127.0.0.0", "255.255.255.0") ||<br>
                isInNet (host, "192.168.0.0", "255.255.0.0"))<br>
                return "DIRECT";<br>
        else<br>
                return "PROXY proxy.localdomain:3128; DIRECT";<br>
}<br>
<br>
  --- finished above ---<br>
<br>
Just for clarity's sake:  "localdomain" is a local domain on my DNS<br>
server, it's not a keyword with a special meaning.<br>
<br>
-- <br>
[tim@bigblack ~]$ uname -ipr<br>
2.6.22.4-65.fc7 i686 i386<br>
<br>****************************<br>
</html>