Re: [squid-users] couple of questions ...

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 08 May 2001 10:05:10 +0200

Ilia Chipitsine wrote:

> acl ask password if a document is taken from the Internet
> acl do not ask password if a document is taken from cache instead :-)
>
> sure ?

Cannot be done. http_access runs before the cache is verified.

Lets give two examples:

A) Authentication is required for everything except www.example.com

acl example.com dstdomain www.example.com
acl auth proxy_auth REQUIRED

http_access allow example.com
http_access allow auth
http_access deny all

B) Authentication is only required for www.example.com

http_access allow example.com auth
http_access deny example.com
http_access allow all

--
Henrik Nordstrom
Squid Hacker
Received on Tue May 08 2001 - 02:28:55 MDT

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