Re: [squid-users] Squid caching only certain sites

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 21 Mar 2004 02:08:48 +0100 (CET)

On Sat, 20 Mar 2004, Niall O Broin wrote:

> Unfortunately, most browsers only allow you to say "Don't proxy these
> sites" rather than "Only proxy these sites".

Actually most browsers allows for very detailed proxy settings by using
pac scripts..

> Is it possible to configure squid somehow to do this i.e. so that when
> it receives a request for a particular site (or rather - any site except
> for a limited number) it says "No, sorry, no can do - get that yourself
> directly please"

What you can do is to deny the request with a error message telling the
user that his proxy settings is not suitable.

There is no code in HTTP where the proxy can tell the browser to go direct
(or to use another proxy).

Regards
Henrik
Received on Sat Mar 20 2004 - 18:08:51 MST

This archive was generated by hypermail pre-2.1.9 : Thu Apr 01 2004 - 12:00:02 MST