RE: [squid-users] mime type based blocking on squid

From: Chris Robertson <crobertson@dont-contact.us>
Date: Fri, 25 Mar 2005 09:11:29 -0900

> -----Original Message-----
> From: saravanan ganapathy [mailto:sarav_gsa@yahoo.com]
> Sent: Friday, March 25, 2005 4:15 AM
> To: squid-users@squid-cache.org
> Subject: [squid-users] mime type based blocking on squid
>
>
> Hai,
>
> I configured as the following in my squid-5.STABLE9
>
> acl audiomime rep_mime_type -i
> ^application/audio/mpeg$
> acl audiomime1 rep_mime_type -i application/audio/mpeg
>
>
> http_access deny audiomime all
> http_access deny audiomime1 all
>
> http_reply_access deny audiomime all
> http_reply_access deny audiomime1 all
>
> But its not working. Still my squid allows audio/mpeg
> type of downloads. The squid log shows the correct
> file type (audio/mpeg). But it is not denied.
>
> What would be the problem?
>
> Sarav

Currently you are blocking a mime_type of "application/audio/mpeg", when you
should be blocking "audio/mpeg". As you said, the squid log shows the
correct file type.

Chris
Received on Fri Mar 25 2005 - 11:11:40 MST

This archive was generated by hypermail pre-2.1.9 : Fri Apr 01 2005 - 12:00:02 MST