Re: [squid-users] proxy.pac direct conf

From: Marko Sakkos <markos@dont-contact.us>
Date: Tue, 12 Aug 2003 11:12:34 +0300

----- Original Message -----
From: "MiikaT" <mlist.squid@inlan.inmics.fi>
To: <squid-users@squid-cache.org>
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
Received on Tue Aug 12 2003 - 02:12:54 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:50 MST