Re: [squid-users] Q: Deny all dstdomains except those in list.

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 14 Aug 2002 23:20:46 +0200

Works here...

Do you have any other http_access rules prior to this?

Regards
Henrik

On Wednesday 14 August 2002 20.58, AMV Webmaster wrote:
> I've been trying to deny all domain names except those I have
> listed in a seperate file. Here's what I think should work...
>
> acl allowedsites dstdomain "/usr/local/squid/etc/allowed.txt"
> http_access allow allowedsites
> http_access deny all
>
> In allowed.txt I have...
>
> .yahoo.com
> .msn.com
> .ourwebsite.com
>
> But it doesn't work!? I've also tried other variations but nothing
> I do seems to work. Any help would be appreciated. :)
>
> - louis
Received on Wed Aug 14 2002 - 16:52:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:09:38 MST