[squid-users] deny_info does not appear to work

From: Matthew Seddon <MSeddon@dont-contact.us>
Date: Wed, 23 May 2001 15:53:32 +0200

Hi All,

I'm using squid-2.4STABLE1.
I've created custom error pages for the various acls I have defined, and I've also created deny_info entries.
I've set it up basically as follows:

deny_info ERR_BADLANG_ACCESS_DENIED forbidden-badlang
deny_info ERR_PORN_ACCESS_DENIED forbidden-porn
deny_info ERR_PIRATE_ACCESS_DENIED forbidden-pirate

acl forbidden-badlang url_regex -i "/file"
acl forbidden-porn url_regex -i "/file"
acl forbidden-pirate url_regex -i "/file"
acl allowed-badlang url_regex -i "/file"
acl allowed-porn url_regex -i "/file"
acl allowed-pirate url_regex -i "/file"

http_access deny forbidden-badlang !allowed-badlang
http_access deny forbidden-porn !allowed-porn
http_access deny forbidden-pirate !allowed-pirate

However, when accessing a forbidden url, instead of feeding me a custom error page, it feeds me the usual ERR_ACCESS_DENIED file.

Anybody have any ideas?

TIA,

-Matt

Matthew Seddon
.:.:.:.:.:.:.:.:.:.:.:.:.:.
Network Specialist
Mercantile Bank Limited Head Office
+27-(0)11-302-0429
Received on Wed May 23 2001 - 07:56:16 MDT

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