[squid-users] reply_header_access vs rep_mime_type to deny mime types

robert k Wild robertkwild at gmail.com
Mon Jan 25 13:22:20 UTC 2021


Thanks Amos much appreciated

On Mon, 25 Jan 2021, 13:12 Amos Jeffries, <squid3 at treenet.co.nz> wrote:

> On 26/01/21 1:47 am, robert k Wild wrote:
> > sorry Amos, i will explain why i use the "rep_mime_type"
> >
> > so when users go to a website and click on a link to download and if
> > that download is an .exe/.zip etc etc (on my mimedeny.txt ), squid will
> > stop/block the download and instead they will get an access denied error
> > displayed on the web page
> >
> > im guessing by your reply this is not what the "reply_header_access"is
> > used for
> >
>
> Correct. "reply_header_access deny " is for removing specific headers
> from sent responses. It will not do what you are wanting.
>
> To forbid a whole reply you need "http_reply_access deny ".
>
>
> Amos
> _______________________________________________
> squid-users mailing list
> squid-users at lists.squid-cache.org
> http://lists.squid-cache.org/listinfo/squid-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210125/65a3f626/attachment.htm>


More information about the squid-users mailing list