Re: [squid-users] how to make squid error message depend on a specific acl? + problem

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Wed, 14 Mar 2001 09:40:01 +1000 (EST)

Hi,

On Tue, 13 Mar 2001, Girts Bitenieks wrote:

> hi,
> I am trying to set up acl for blocking porn, downloading files, banner
> protection & other denied sites.
> For example, error message for a specific acl for downloading files =>
>
> acl denied_filetypes urlpath_regex -i "/etc/squid/denied_filetypes.txt"
> http_access deny denied_filetypes
> deny_info err_filetypes_denied.html denied_filetypes
>
> works well!!!!
>
> but, once I want to add exception to group !happy_group = the specified
> error message doesn't appear any more, but instead default
> ERR_ACCESS_DENIED........... :(
> any ideas?

For a start you could explain exactly what you are doing. "once I want to
add exception to group !happy_group" doesn't give any useful information.
When posting a message it is always useful to include

squid version
os version

In cases like this include the parts of squid.conf that you are saying
"don't work". Most problems like this are usually the result of not
understanding how squid parses and uses acls, despite the fact that the
FAQ explains it in detail.

Colin
Received on Tue Mar 13 2001 - 16:40:48 MST

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