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

From: Robert Collins <robert.collins@dont-contact.us>
Date: Wed, 11 Jul 2001 12:24:11 +1000

> -----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 - 20:34:35 MDT

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