[squid-users] Custom error pages for cache_peer_access rules

From: Paul Ch <sima_yi_at_operamail.com>
Date: Wed, 21 Nov 2012 01:59:54 +0000


Is there a way of showing custom error pages for cache_peer_access ACL's
in a squid reverse-proxy?

I have rules like:

cache_peer_access test allow sites_test group1
cache_peer_access test allow sites_test wisp
cache_peer_access test deny sites_test publicall

If someone outside of group1 and wisp tries to connect to this peer,
they get the 'ERR_CANNOT_FORWARD' message.
With http_access rules, I can change this using deny_info. Is there an
equivalent for cache_peer_access?

Squid 3.2
http://www.fastmail.fm - One of many happy users:
Received on Wed Nov 21 2012 - 01:59:56 MST

This archive was generated by hypermail 2.2.0 : Thu Nov 22 2012 - 12:00:04 MST