Re: [squid-users] deny_info not working

From: saravanan ganapathy <sarav_gsa@dont-contact.us>
Date: Sun, 27 Mar 2005 20:36:48 -0800 (PST)

--- Henrik Nordstrom <hno@squid-cache.org> wrote:
>
>
> On Sat, 26 Mar 2005, saravanan ganapathy wrote:
>
> > Hai,
> >
> > My config looks like
> >
> > acl audio-video-ext urlpath_regex -i
> > \.(mp3|mpeg|avi|wmf|ogg|wav|au|mov)($|\?)
> >
> > http_access deny audio-video-ext all
> > deny_info ERR_NOAUDIO_VIDEO audio-video-ext
> >
> > Squid blocks mp3 downloads, but my custom deny
> > page(ERR_NOAUDIO_VIDEO) is not coming. I have this
> > file
> > ERR_NOAUDIO_VIDEO in the correct path where squid
> > looks.
>
> This is because your accesses are denied by the
> "all" acl.
>
> Just take away the "all" acl from your http_access
> deny line and things
> should be fine..

If I remove "all" from my acl and it works. It doesn't
work if I add 'worktime' in my acl as

  http_access deny audio-video-ext worktime

Any limitations in deny_info like this?

Sarav

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Sun Mar 27 2005 - 21:37:10 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST