Re: [squid-users] deny_info not working

From: Henrik Nordstrom <[email protected]>
Date: Sat, 26 Mar 2005 23:53:05 +0100 (CET)

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..

Regards
Henrik
Received on Sat Mar 26 2005 - 15:53:07 MST

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