Hi Christoph You're a star!!!!!!!!!!! Its working after I changed the acl to workdays. Many thanks Rgds, Hement -----Original Message----- From: Christoph Haas [mailto:email@xxxxxxxxxxxxxxxxx] Sent: 10 May 2006 04:45 PM To: squid-users@xxxxxxxxxxxxxxx Subject: Re: deny_info not working On Wed, May 10, 2006 at 04:40:46PM +0200, Hement Gopal wrote: > I am trying to use a custom error page for my clients but cannot get > it to work. I have restricted the downloads of certain file types > during office hours using : > > acl files url_regex -i "/usr/local/squid/etc/banned-files.txt" > deny_info ERR_BANNED_FILES.htm files > http_access deny files workdays The deny_info always refers to the last ACL in a "http_access deny" line. (See also: http://workaround.org/moin/HowSquidAclsWork -> Custom error pages) So if you deny on 'workdays' the deny_info must be: deny_info ERR_BANNED_FILES.htm workdays Or alternatively you change the order in the http_access line: http_access deny workdays files Kindly Christoph
<<winmail.dat>>