Re: [squid-users] Blocking mime application/x-sh also blocks mime application/x-shockwave-flash

From: Ronie Gilberto Henrich <ronie_at_ronie.com.br>
Date: Mon, 15 Jun 2009 21:37:36 -0400

Thanks Amos, problem solved!

-------- Original Message --------
Subject: Re: [squid-users] Blocking mime application/x-sh also
blocks mime application/x-shockwave-flash
From: Amos Jeffries <squid3_at_treenet.co.nz>
To: ronie_at_ronie.com.br
Cc: squid-users_at_squid-cache.org
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_at_ronie.com.br> 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: [squid-users]
>> Blocking mime application/x-sh also blocks mime
>> application/x-shockwave-flash From: Chris Robertson
>> <crobertson_at_gci.net> To: squid-users_at_squid-cache.org 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
Received on Tue Jun 16 2009 - 01:37:51 MDT

This archive was generated by hypermail 2.2.0 : Tue Jun 16 2009 - 12:00:03 MDT