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

2004-01-05 Thread Henrik Nordstrom
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



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

2004-01-05 Thread Paulo Ricardo
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...

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


thanks