Re: [squid-users] error pages on acl deny

From: Christoph Haas <[email protected]>
Date: Mon, 17 Oct 2005 14:07:14 +0200

On Monday 17 October 2005 09:14, Metal Gear wrote:
> Hi all, i m using following acls to block users using Firefox version
> lesser than 1.0.7 and giving out an customized error page.
>
> acl browserblocker browser !Firefox/1.0.7
> http_access deny browserblocker mydomain
> deny_info ERR_CUSTOM_DENIED browserblocker
> http_access allow mydomain

You need to define the deny_info page before you first use it. Move it
before
the first "http_access".

Cheers
 Christoph

-- 
~
~
~
".signature" [Modified] 3 lines --100%--                3,41         All
Received on Mon Oct 17 2005 - 06:07:21 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Nov 01 2005 - 12:00:04 MST