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

From: Cody Jarrett <cody.jarrett@dont-contact.us>
Date: Mon, 17 Dec 2007 15:28:30 -0600

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
Received on Mon Dec 17 2007 - 14:28:35 MST

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