----- Original Message -----
From: "MiikaT" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 12, 2003 10:28 AM
Subject: [squid-users] proxy.pac direct conf


> Hi,
>
> I have proxy.pac setup for ie, which has worked ok for the time being
(clients
> use proxy when in defined subnet). Now I need to exclude some ip's from
> proxied hosts, something similiar like in IE's "Do not use proxy for
addresses
> beginning...". Basically client's should go directly to specific ip's. I
tried
> no_cache in squid, but still the outgoing ip is the one that squid uses,
so I

Hi !

Use directives.

if (isPlainHostName(host) ||
            dnsDomainIs(host, "localhost") ||
            dnsDomainIs(host, ".directhostname") ||
                                return "DIRECT";

Good examples:
http://developer.netscape.com/docs/manuals/proxy/adminnt/autoconf.htm

Markos


Reply via email to