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



Reply via email to