from squid.conf.default:
#  TAG: deny_info
#       Usage:   deny_info err_page_name acl
#       Example: deny_info ERR_CUSTOM_ACCESS_DENIED bad_guys
#
#       This can be used to return a ERR_ page for requests which
#       do not pass the 'http_access' rules.  A single ACL will cause
#       the http_access check to fail.  If a 'deny_info' line exists
#       for that ACL then Squid returns a corresponding error page.
#
#       You may use ERR_ pages that come with Squid or create your own pages
#       and put them into the configured errors/ directory.
so, i suppose, something like:
deny_info apps.html apps
On Fri, Sep 28, 2001 at 11:43:51AM +0100, John Szkudlapski wrote:
> Hi Henrik, and the rest of the gurus!
> 
> Thanks for you help regarding the blockin of downloads, I would like to
> expand on this, when a user accesses one of the banned files, how do i
> re-direct them to a custom error page defined for that acl.  I have created
> the error page  /etc/squid/errors/apps.html
> 
> acl apps urlpath_regex -i "/etc/squid/acccess/apps.dat"
> http_access deny apps
> 
> Using squid-2.3.STABLE 4 on RHL 6.2
> 
> Regards
> 
> -----------------------------
> John Szkudlapski
> Web Manager
> Birkenhead Sixth Form College
> T: 0151 651 3720
> F: 0151 653 4419
> M: 0780 154 2033
> E: johns@bsfc.ac.uk
Received on Fri Sep 28 2001 - 06:16:42 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:02:31 MST