[squid-users] reply_header to block downloads

Amos Jeffries squid3 at treenet.co.nz
Thu Nov 19 04:55:12 UTC 2020


On 19/11/20 9:20 am, robert k Wild wrote:
> hi all,
> 
> can i use the acl "reply_header_access" to block downloads, like i have 
> done with the " rep_mime_type " or is this not what its meant for
> 

That directive stops matching responses being delivered to clients (they 
get an error page instead).

Note that the full response is still received by the proxy. So it is 
mostly useful for security depending on response details, rather than a 
bandwidth saving measure.


Amos


More information about the squid-users mailing list