Re: [squid-users] ACL not displaying Custom Error page

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 14 Oct 2003 19:56:42 +0200 (CEST)

On Tue, 14 Oct 2003, Jimbo wrote:

> I have been writing some acls in squid to deny access to various sites
> during working hours. It all seems to be working well but I would like
> to display a custom error page instead of the standard access denied one.
>
> I have created the page in /etc/squid/errors/ and added the deny_info
> line but still get the standard page.

You need to rearrange your http_access lines slightly. deny_info looks for
the last acl name on the http_access deny line where the request was
denied. In all your http_access rules this is the "whitelist" acl...

Regards
Henrik
Received on Tue Oct 14 2003 - 11:56:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:20:29 MST