Search squid archive

Re: ACL help: blocking non-html objects from particular domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux