Re: What if Squid goes down?

From: Squid <squid@dont-contact.us>
Date: Wed, 10 Dec 1997 09:10:04 +0100 (MET)

On Wed, 10 Dec 1997, Dancer wrote:

> Here's one for you...Make up something to return this:
>
> Content-Type: application/x-ns-proxy-autoconfig
>
> function FindProxyForURL(url, host)
> {
> return "PROXY proxy.vianet.on.ca:3128; DIRECT";
> }
>
>
>
> This script will tell both Netscape and MSIE (the newer ones, anyway) to
> contact 'proxy.vianet.on.ca:3128' for all requests, and to run direct to the
> target site if it cannot be contacted for some reason. If the connect fails,
> and the browser starts connecting directly, it will try periodically to
> obtain a successful connection to the proxy server, and return to using it.
>
> You can list multiples, as well. I have a second box set up with a minimal
> cache (a measly 10MB) in case the first one is down or in maintenance (since
> drawing from our provider's proxy is half the byte-cost of going direct)..So:
>
> return "PROXY proxy1.domain.com:3128; proxy2.domain.com:3128;
> proxy.afriendofours.com:8080; DIRECT";
>
> is also possible. You can list about as many as you like, but MSIE will hate
> you after four or five.
>
> D

Are there any penalties in browsing internet where this kind of
redirection is activated? ; I mean, do netscape or msie go any slower?

thanks.

Stefano Carlotto

>
>
> Chuck Pitre wrote:
>
> > Hi, I work for an ISP and we are are about to setup SQUID as our PROXY
> > server. Now the proxy is fairly important for web surfing; if it
> > goes down, web surfing as a whole goes down unless users know how to
> > change their web settings to get out of proxy mode (not likely).
> >
> > This is where I get stuck... If SQUID goes down, how do I notify 4 000 +
> > browsers that are on-line using the proxy, not to use it :) I have heard
> > of people using Jscripts... mind you I have never gotten an example of
> > one, so I'm not sure exactly how that works....
> >
> > What are other poeple out there doing to avoid this kind of problem.
> >
> > Chuck Pitre chuck@vianet.on.ca
> > ViaNet Internet Solutions Technical Consultant
> > 128 Larch Street ph: 675-0400
> > P3E 5J8 fax: 675-0404
> > >--------------------------------------------------<
> >
> > Windows95: <win-doz-nin-te-fiv> n. 32 bit extensions
> > and a graphical shell for a 16 bit patch to an 8
> > bit operating system originally coded for a 4 bit
> > microprocessor, written by a 2 bit company, that
> > can't stand 1 bit of competition.
>
>
>
> --
> Note to evil sorcerers and mad scientists: don't ever, ever summon powerful
> demons or rip holes in the fabric of space and time. It's never a good idea.
> ICQ UIN: 3225440
>
>
Received on Wed Dec 10 1997 - 00:14:22 MST

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