Search squid archive

Re: reply_header_access vs rep_mime_type to deny mime types

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

 



Thanks Amos much appreciated

On Mon, 25 Jan 2021, 13:12 Amos Jeffries, <squid3@xxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

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

  Powered by Linux