Re: [squid-users] Squid on W2K w/ AD Authentication

From: Robert Vangel <[email protected]>
Date: Thu, 20 Jan 2005 09:31:57 +0800

James Bruce wrote:
> [...]
> #The allowed domains for Restricted Web Users
> acl Restricted_Web_Access dstdomain .il.us
> acl Restricted_Web_Access dstdomain .mil
> acl Restricted_Web_Access dstdomain .msn.com
> acl Restricted_Web_Access dstdomain .windowsupdate.com
> acl Restricted_Web_Access dstdomain .edu
> acl Restricted_Web_Access dstdomain .gov
> acl Restricted_Web_Access dstdomain .acfenvironmental.com
> acl Restricted_Web_Access dstdomain .adobe.com
> acl Restricted_Web_Access dstdomain .aehs.com
> acl Restricted_Web_Access dstdomain .aehsmag.com
> acl Restricted_Web_Access dstdomain .afr.net
> acl Restricted_Web_Access dstdomain .agu.org
> acl Restricted_Web_Access dstdomain .americanexpress.com
> acl Restricted_Web_Access dstdomain .aol.com
> acl Restricted_Web_Access dstdomain .api.org
>
> **Note: Really long list
>
> #The allowed domains for Restricted Acct Users
> acl Acct_Web_Access dstdomain .1035thex.com
> acl Acct_Web_Access dstdomain .53.com
> acl Acct_Web_Access dstdomain .98rock.com
> acl Acct_Web_Access dstdomain .afr.net
> acl Acct_Web_Access dstdomain .aicpa.com
> acl Acct_Web_Access dstdomain .aig.com
> acl Acct_Web_Access dstdomain .aigcs.net
> acl Acct_Web_Access dstdomain .akamai.net
>
> **Note: Really long list
>

For these two acl's, rather than having them all in the config file, you
can create another file containing the domains, and then doing something
like

acl Restricted_Web_Access dstdomain C:/squid/etc/domains.specialpeople
acl Acct_Web_Access dstdomain C:/squid/etc/domains.normal

This way, the config file isn't so huge and makes for easier reading.

Received on Wed Jan 19 2005 - 18:32:24 MST

This archive was generated by hypermail pre-2.1.9 : Mon Mar 07 2005 - 12:59:35 MST