Re: [squid-users] Req_Mime_Type

From: Chris Robertson <crobertson@dont-contact.us>
Date: Thu, 19 Oct 2006 11:55:17 -0800

Kevin Gordon wrote:
> I'm having difficulties blocking specific mime types
>
> I have the following ACL's setup
>
> acl kip src XXX.XXX.XXX.XXX
> acl MyPeople proxy_auth REQUIRED
>
> acl blockedmime_exe req_mime_type -i ^application/octet-stream$
> ^application/x-compress$ ^application/x-compressed$
> acl blockedmime_zip req_mime_type -i ^application/zip$ ^multipart/x-zip$
> acl blockedmime_media req_mime_type -i ^audio/mpeg3$ ^video/x-mpeg$
> ^video/quicktime$ ^video/avi% ^video/x-msvideo$ ^audio/x-mpegurl$
>
> http_access deny kip blockedmime_exe blockedmime_zip blockedmime_media
> http_access allow kip MyPeople
>
> The users can still access all the file mime-types specified in the
> three ACL's
>
>
> Any suggestions?
Use a rep_mime_type and http_reply_access rules instead.

You are currently blocking requests...

Chris
Received on Thu Oct 19 2006 - 13:55:27 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Nov 01 2006 - 12:00:04 MST