RE: [squid-users] Differen error messages possible?

From: HUNT_STEVE <HUNT_STEVE@dont-contact.us>
Date: Tue, 27 Nov 2001 15:45:56 -0800

Here is an example of how to have custom error messages:

acl banned_sites dstdom_regex -i "/usr/local/squid/etc/banned_sites.txt"
http_access deny banned_sites
deny_info sorry.htm banned_sites

> -----Original Message-----
> From: Boniforti Flavio [mailto:boniforti.f@co-ver.it]
> Sent: Tuesday, November 27, 2001 5:12 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] Differen error messages possible?
>
>
> Hy there...
>
> I would like to use 2 different custom error pages for
> similar errors, that
> is:
>
> I've one ACL that makes discrimination looking up the IP
> Source Address of
> my LAN Clients...
> I've another one that filters site names (url_regex)...
>
> I'd like to use two different error messages for those
> lists... the second
> one is OK (ACCESS_DENIED), but I'd like to customize my first
> error message
> (the one related to IP Source Address)...
>
> Thanx...
>
> Boniforti Flavio
> Informa Srl
> Via 42 Martiri, 165
> 28924 Verbania (VB)
> Tel +39 0323 586216
> Fax +39 0323 586672
> http://www.co-ver.it/informa
>
>
>
Received on Tue Nov 27 2001 - 16:45:57 MST

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