Fwd: [squid-users] Setting up req_mime_type ACLs

From: <mortbox@dont-contact.us>
Date: Sat, 31 Jan 2004 20:49:29 -0500

i've asked to be removed countless times. here's another message that
i didn't want. it's really not that hard to remove somebody is it...

This is a forwarded message
From: David Landgren <david@landgren.net>
To: squid-users@squid-cache.org
Date: Wednesday, January 28, 2004, 6:08:19 AM
Subject: [squid-users] Setting up req_mime_type ACLs

===8<==============Original message text===============
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
===8<===========End of original message text===========
-- 
Best regards,
 mortbox                            mailto:mortbox@gamebox.net
Received on Sat Jan 31 2004 - 19:50:13 MST

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