So this is what I have now, and the way I see it, it says allow all goodsites and sites that have referers, but it still doesn't appear to work properly.

acl goodsites dstdom_regex "/etc/squid/allowed-sites.squid"
acl has_referer referer_regex .
http_access allow goodsites has_referer

On Dec 14, 2007, at 2:21 PM, Henrik Nordstrom wrote:

On fre, 2007-12-14 at 11:45 -0600, Cody Jarrett wrote:
I think I almost have it. I can access sites in my allowed file. But
when I access a site that isn't, it gives me the "Error, access denied
when trying to retrieve the url: http://google.com/";, but If I click
the link, http://www.google.com, it takes me to the site which isn't
wanted. I think there is something wrong with the order of acl's or I
need to combine them on one line maybe.

#allow only the sites listed in the following file
acl goodsites dstdom_regex "/etc/squid/allowed-sites.squid"
acl has_referer referer_regex .
http_access allow goodsites
http_access allow has_referer

This says allow access to follow any link, no matter where that link is
or no matter where it was found.

You need to make patterns of the sites from where following links /
loading inlined content is allowed.

Regards
Henrik


Reply via email to