[squid-users] Custom Error Page

From: John Szkudlapski <johns@dont-contact.us>
Date: Fri, 28 Sep 2001 11:43:51 +0100

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

****************************************************************
Birkenhead Sixth Form College

This message is sent in confidence for the addressee only;
If it has come to you in error please notify compserv@bsfc.ac.uk

The contents of this e-mail are the personal views of the sender,
which may not necessarily reflect those of the college.

This message has been scanned for viruses.
The college cannot accept any responsibility for any viruses
which may have come from external sources.

****************************************************************
Received on Fri Sep 28 2001 - 04:47:12 MDT

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