Re: Problem about deny_info..

From: Bernd P. Ziller <[email protected]>
Date: Thu, 3 Jul 1997 09:06:27 +0200 (METDST)

> From: Keh-Chen Lau <kclau@www.nsysu.edu.tw>
> Date: Thu, 3 Jul 1997 02:12:58 +0800 (CST)

> I try to setup the deny_info today, but I am not sure it did the right
> way. Below is what I set:
>
> deny_info http://my.web.server/deny.html MyDenyAcl
>
> Well, when a client has not passsd MyDenyAcl rule, he got a Acess Denied
> page with a link of "http://my.web.server/deny.html" on it. Since the
> client is still using my proxy server, he will keep on getting this warnig
> page and unable to see the content of the URL even he click on that link.
>
> Before using this, I thought Squid will treat this URL as special case
> and let is pass the Acl check, but it seems that I am wrong. Users still
> have to disable his proxy setting as to see the URL content.

AFAIK Squid doesn't do any magic on an deny_info URL, it just sends a
redirect location header to the client pointing to that URL.

You will have to explicitely tell your squid to allow access to that
URL, something like:

acl MyDenyURL url_regex ^http://my.web.server/deny.html$

http_allow MyDenyUrl

or

http_deny MyDenyAcl !MyDenyURL

Hope it works...

Regards,

-- 
   Bernd                  bziller@ba-stuttgart.de
-------------------------------------------------
      http://www.ba-stuttgart.de/~bziller/
  Perry Rhodan - Blind Guardian - Morwen   Pages
Received on Thu Jul 03 1997 - 00:10:53 MDT

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