Re: [SQU] A $5 Question (Formally:Transperant Caching)

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Mon, 25 Sep 2000 09:20:32 +0200

Gary Barnden wrote:

> I would prefer to do this within Squid using an ACL. However, when the
> "Destination" address of the request is not the Proxy's IP address
> I need to do a redirect to Web Server (yes i know this is strange, but
> is a customers requirement).
>
> Is this possible with ACL's?

Almost. See deny_info.

> Can I change the resulting error code that Squid produces based on
> ACL's

Yes. Error pages are fully customisable, and can be selected on a ACL
basis.

The ACL you want to use here is the "myip" ACL type to mach the IP where
Squid accepted the request.

--
Henrik Nordstrom
Squid hacker
--
To unsubscribe, see http://www.squid-cache.org/mailing-lists.html
Received on Mon Sep 25 2000 - 01:48:03 MDT

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