Re: [squid-users] Invoked sites by allowed websites.

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Fri, 14 Dec 2007 21:21:20 +0100

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

Received on Fri Dec 14 2007 - 13:21:26 MST

This archive was generated by hypermail pre-2.1.9 : Tue Jan 01 2008 - 12:00:02 MST