Search squid archive

Re: Req_Mime_Type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux