[squid-users] reply_header_access vs rep_mime_type to deny mime types
Amos Jeffries
squid3 at treenet.co.nz
Mon Jan 25 13:08:54 UTC 2021
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
More information about the squid-users
mailing list