Re: [squid-users] how include a deny message in error log html

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 6 Jan 2004 04:12:12 +0100 (CET)

On Mon, 5 Jan 2004, Paulo Ricardo wrote:

> Hi guys
>
> Happy 2004 80)
>
>
> Bart gave me a goog help telling me to use degug_options ALL,2 9,28 in
> squid.conf
>
> example:
> http://mirror.phy.bnl.gov/debian-iso/gluck.debian.org/cdimage/testing/netinst/i386/beta
> -1/ is DENIED, because it matched 'government_domains'
> ^^^^^^^^^^^^^^^^^^
>
> BTW is there a way to insert this message in the HTML error page?? I try
> all possibilities showed at
> http://www.squid-cache.org/Doc/FAQ/FAQ-19.html#custom-err-msgs
> but none of them show me the ACL...

The ACL is not know to error pages.

You can write specific error pages and then refer to them via deny_info.

> Maybe using %m Error message returned by external auth helper ???

No. This is not relevant to the question.

In Squid-3 you should be able to use %o in combination with an
external_acl_type defined ACL and a corresponding helper which returns the
message.

Regards
Henrik
Received on Mon Jan 05 2004 - 20:12:18 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:03 MST