Thanks Amos, problem solved! -------- Original Message -------- Subject: Re: Blocking mime application/x-sh also blocks mime application/x-shockwave-flash From: Amos Jeffries <squid3@xxxxxxxxxxxxx> To: ronie@xxxxxxxxxxxx Cc: squid-users@xxxxxxxxxxxxxxx Date: Mon Jun 15 2009 21:03:08 GMT-0400 (Eastern Daylight Time) > On Mon, 15 Jun 2009 16:11:34 -0400, Ronie Gilberto Henrich > <ronie@xxxxxxxxxxxx> wrote: >> Hi Chris, >> >> It is no regular expression in this case (rep_mime_type): >> /etc/squid/squid.conf ... acl deny_file_mime_rep >> rep_mime_type "/etc/squid/denied_file_mime" >> >> http_reply_access deny all deny_file_mime_rep ... >> >> /etc/squid/denied_file_mime application/x-sh >> >> >> Any ideas? > > IIRC the rep_mime_type uses regex to match. > > Try this for the mime type: > > application/x-sh$ > > or this: > > application/x-sh(;.*)?$ > > Amos > >> >> Thanks and regards, Ronie >> >> >> -------- Original Message -------- Subject: Re: >> Blocking mime application/x-sh also blocks mime >> application/x-shockwave-flash From: Chris Robertson >> <crobertson@xxxxxxx> To: squid-users@xxxxxxxxxxxxxxx Date: Mon >> Jun 15 2009 15:58:11 GMT-0400 (Eastern Daylight Time) >> >>> Ronie Gilberto Henrich wrote: >>>> Hi, >>>> >>>> When block mime type application/x-sh using >>>> http_reply_access deny, it is blocking mime type >>>> application/x-shockwave-flash too. Could it be a bug with >>>> Squid? >>>> >>> It could be a Squid bug, but I would be more apt to blame an >>> improperly formatted regular expression. >>> >>>> I am using Squid version 3.0.14-r2, amd64. >>>> >>>> >>>> Thanks and regards, Ronie Henrich >>>> >>> Chris