Re: [squid-users] Setting up req_mime_type ACLs

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 28 Jan 2004 00:11:38 +0100 (CET)

On Tue, 27 Jan 2004, David Landgren wrote:

> I have the following lines in my squid.conf
> ===
> acl mime_banned req_mime_type /application\.x-director/

The correct mime type is application/x-director. I don't know why your
Mozilla identifies it using a . instead of /.

Also, you want to use the rep_mime_type acl, not req_mime_type.. (rep_..
== reply, req_.. == request)

  acl mime_banned rep_mime_type -i ^application/x-director$

Also see Squid access.log. The mime type is reported there in plain text.

Regards
Henrik
Received on Tue Jan 27 2004 - 16:11:42 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:09 MST