Hello,
> 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
I have had a similar problem, try to use:
http_access allow allowed-badlang
http_access deny forbidden-badlang 
http_access allow allowed-porn
http_access deny forbidden-porn 
http_access allow allowed-pirate
http_access deny forbidden-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 - 08:13:36 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:15 MST