I'm attempting to use ACLs to block non-HTML objects from particular
domains. i.e: users should be able to see the html, but not the images.
Tried various forms of and always end up will all or nothing:
acl suspect-domains dstdom_regex "/etc/squid/suspect-domains.acl"
acl ok-mime-types rep_mime_type -i ^text/html$
acl ok-mime-types rep_mime_type -i text/html
# 1
#http_access allow ok-mime-types
#http_access allow suspect-domains
# 2
#http_access allow suspect-domains ok-mime-types
# 3
#http_access deny suspect-domains !ok-mime-types
#http_access allow suspect-domains
http_access deny all
What am I missing here?
-- Craig Skinner | http://www.kepax.co.uk | aye-right@kepax.co.ukReceived on Sat Oct 13 2007 - 11:01:55 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT