RE: [squid-users] blocking mime types

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 09 May 2003 13:39:30 +0200

fre 2003-05-09 klockan 12.36 skrev Boniforti Flavio:
> > You are blocking request mime types... not reply mime types..
>
> I was thinking whether or not blocking BOTH ways of MIME types (like
> streaming media) could be useful...
>
> What do you suggest?

User-agents rarely send meaningful mime types except for the PUT request
(which is rarely used except for WebDAV).

Only very few special applications send somewhat meaningful mime-types
in their requests.

To see what mime types is sent by the user-agent you need to enable
log_mime_hdrs.

The mime type of the reply from the server is logged in access.log.

To block reply mime types you need to use the rep_mime_type acl in
http_reply_access (cannot be used in http_access, the information is not
yet known when http_access is evaluated).

Regards
Henrik

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Fri May 09 2003 - 05:39:36 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:16:29 MST