Re: [squid-users] ACL help: blocking non-html objects from particular domains

From: Craig Skinner <craig.skinner@dont-contact.us>
Date: Tue, 16 Oct 2007 22:02:58 +0100

On Wed, Oct 17, 2007 at 01:12:41AM +1300, Amos Jeffries wrote:
> Doh!. I'm just going to go aside and kick myself a bit.
>
> reP_mime_types is a REPLY acl.
>
> it should be used with http_reply_access :-P

Beautie mate! Stupid of me!

acl our_networks src 127.0.0.1/32
http_access allow our_networks
acl suspect-domains dstdom_regex "/etc/squid/suspect-domains.acl"
http_access allow suspect-domains
http_access deny all
acl ok-mime-types rep_mime_type -i text/html
http_reply_access allow ok-mime-types
http_reply_access deny all

Nice one.
Received on Tue Oct 16 2007 - 15:03:08 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT