RE: [SQU] Automatic detection...

From: Merton Campbell Crockett <mcc@dont-contact.us>
Date: Thu, 30 Nov 2000 10:43:31 -0800 (PST)

On Thu, 30 Nov 2000, Chemolli Francesco (USI) wrote:

> I was wondering, how can you give the instructions to IE (Internet =
> Explorer) when it has Automatic detect settings enabled (for Proxy =
> settings)? Is it possible that Squid provides such info to the Browser =
> automatically?

Define a system in your DNS zone file with the host name WPAD. This can
be a CNAME for an existing web server in your domain.

In the web server's DocumentRoot define a file named wpad.dat. This can
be a symlink to proxy.pac used to automatically configure a proxy for
Netscape Navigator and earlier versions of Internet Explorer.

While Microsoft makes a big production in their TechNet documentation
about Web Proxy Automatic Detection, its really only a set of simple
search rules to find a JavaScript file that contains the rules regarding
when to use a proxy, which proxy to use, and which port to use.

Attached is a simple file that I use that does nothing more than instruct
the browser to try the two peer Squid server (P1 and P2), then the parent
(P3), and, finally, if you can't find a Squid process running anywhere, go
direct.

In my DNS zone file, I've defined WPAD with the two IP addresses that
correspond to the IP addresses of P1 and P2 which are running Apache in
addition to Squid.

Merton Campbell Crockett

--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Thu Nov 30 2000 - 11:49:09 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:56:45 MST