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

robert k Wild robertkwild at gmail.com
Mon Jan 25 12:24:30 UTC 2021


hi all,

just want your thoughts on what the best acl is to deny mime types

atm i have this and it works really well

#deny MIME types
acl mimetype rep_mime_type "/usr/local/squid/etc/mimedeny.txt"
http_reply_access deny mimetype

and in my mime file i have this

cat /usr/local/squid/etc/mimedeny.txt
application/octet-stream
application/x-msi
application/zip
application/x-7z-compressed
application/vnd.ms-cab-compressed

would you say i should use the acl "reply_header_access" instead?

thanks,
rob
-- 
Regards,

Robert K Wild.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squid-cache.org/pipermail/squid-users/attachments/20210125/11ae953b/attachment.htm>


More information about the squid-users mailing list