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

Reply via email to