Re: [squid-users] ACL configuration problem???

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Thu, 14 Jun 2001 08:33:22 +1000 (EST)

Hi,

I think it's an acl problem. From squid.conf

# acl aclname proxy_auth username ...
# # list of valid usernames
# # use REQUIRED to accept any valid username.

That's usernames, not domain names.

Colin

> acl sales proxy_auth "/usr/local/squid/etc/aclfiles/sales.acl" # This one
> acl purch proxy_auth "/usr/local/squid/etc/aclfiles/purch.acl"
> acl office proxy_auth "/usr/local/squid/etc/aclfiles/office.acl"
> acl admin proxy_auth "/usr/local/squid/etc/aclfiles/admin.acl"
> acl unrestr proxy_auth "/usr/local/squid/etc/aclfiles/unrestr.acl"
> acl ftp proto FTP
> acl salesdomain dstdomain "/usr/local/squid/etc/aclfiles/sales.domain" #and this one
> acl purchdomain dstdomain "/usr/local/squid/etc/aclfiles/purch.domain"
> acl officedomain dstdomain "/usr/local/squid/etc/aclfile/office.domain"
> http_access deny sales !salesdomain
> http_access deny purch !purchdomain
> http_access deny office !officedomain
> http_access allow unrestr
> http_access allow admin
> http_access deny ftp !admin
> http_access allow all
>
> The sales.domain file is a single column listing of urls in
> "domainname.com" format.
Received on Wed Jun 13 2001 - 16:33:45 MDT

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