> -----Original Message----- > From: saravanan ganapathy [mailto:sarav_gsa@xxxxxxxxx] > Sent: Sunday, March 27, 2005 7:37 PM > To: squid-users@xxxxxxxxxxxxxxx > Subject: Re: [squid-users] deny_info not working > > > > --- Henrik Nordstrom <hno@xxxxxxxxxxxxxxx> 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 Try "http_access deny worktime audio-video-ext". If I remember correctly, Squid uses the last acl on an http_access line to determine which deny_info page to use. Chris