RE: [squid-users] rep_mime_type acl not working?

From: Tino Wildenhain <tino@dont-contact.us>
Date: Wed, 11 Jul 2001 06:46:54 +0200

Hi Robert,

I was starting with the most basic example.
If I get it to work the ruleset will be more
complicated. Currently I'm doing mime-type
filtering with my redirector script.

Regards
Tino

--On Mittwoch, 11. Juli 2001 12:24 +1000 Robert Collins
<robert.collins@itdomain.com.au> wrote:

>> -----Original Message-----
>> From: Tino Wildenhain [mailto:tino@wildenhain.de]
>> Sent: Wednesday, July 11, 2001 1:15 AM
>> To: squid-users@squid-cache.org
>> Subject: [squid-users] rep_mime_type acl not working?
>>
>>
>> Hi,
>>
>> I tried to use
>>
>> acl wtype rep_mime_type -i ^text/html$
>>
>> and
>>
>> http_reply_access allow wtype
>> http_reply_access deny all
>>
>> (where all is source 0/0)
>>
>> But it does not work as expected. No matter how I try,
>> either all docs are blocked or none.
>
> What are you trying to achieve? Only allow text/html?
>
> Try setting debug to
> ALL,1 33,2
> and look in cache.log for a line of the form
> "The reply for GET http://foo is DENIED, because it matched"
>
> Rob
>
>> Does somebody has a working example of mime-type filtering?
>>
>> (Using 2.5Beta)
>>
>> Regards
>> Tino
>>
Received on Tue Jul 10 2001 - 22:47:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:01:06 MST