Re: [squid-users] Custom Error Page

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 16 Sep 2009 22:21:18 +1200

Mario Remy Almeida wrote:
> Hi All,
>
>
> acl ipA src 10.0.0.1
> acl acTime time SM
>
> http_access deny ipA acTime
>
> for the above acl need to have custom ERR_ page
>
> deny_info ERR_TIME_DENIED ipA
> deny_info ERR_TIME_DENIED acTime
>
> ERR_TIME_DENIED page is in the squid error directory.
>
> what is the correct deny_info parameter to get a custom ERR_ page?
>

Your config above should work.

NP: The last ACL named on http_access deny line is the one whose
deny_info page gets used. So you may not need to set it for both ACL.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE6 or 3.0.STABLE19
   Current Beta Squid 3.1.0.13
Received on Wed Sep 16 2009 - 10:21:29 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 16 2009 - 12:00:03 MDT