Search squid archive

Re: deny_info not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux