Re: [squid-users] Setting up req_mime_type ACLs

From: David Landgren <david@dont-contact.us>
Date: Wed, 28 Jan 2004 12:08:19 +0100

Henrik Nordstrom wrote:

> 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 /.

It does, that was a cut and paste thing.

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

Thanks. I got thrown off by Google and its "did you mean ...?"

> acl mime_banned rep_mime_type -i ^application/x-director$
>
> Also see Squid access.log. The mime type is reported there in plain text.

Ah of course, silly me. Thanks again Henrik.

> Regards
> Henrik
>

-- 
Commercial OS breeds commerce, whereas free OS breeds freedom,
the only thing more dangerous and confusing than commerce.
                   -- Michael R. Jinks, redhat-list, circa 1997
Received on Wed Jan 28 2004 - 04:10:12 MST

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