Re: ACL parse problem in squid.conf

From: daizhuan <dzarm@dont-contact.us>
Date: Fri, 10 Mar 2000 17:44:33 +0800

----- Original Message -----
From: Serge Gilen <Serge.Gilen@vub.ac.be>
To: <squid-users@ircache.net>
Sent: Thursday, March 09, 2000 1:18 AM
Subject: ACL parse problem in squid.conf

> I've the following entries in my squid.conf:
>
> acl passhosts src 134.184.31.0/255.255.255.0
> acl passhosts proxy_auth REQUIRED
> acl bibliohosts src 134.184.57.0/255.255.255.0
>
> http_access allow bibliohosts
> http_access allow passhosts
>
> When I restart squid 2.3STABLE2 I always get the following error in
> my cache.log :
>
> 2000/03/08 17:55:47| aclParseAclLine: ACL 'passhosts' already exists with
> differe
> nt type, skipping.
>
> And no authentication pop-up appears on that hosts.
>
> Serge Gilen
>
> Brussels Free University (V.U.B.) Tel.: +32 2 6292473
> University Library Fax.: +32 2 6292693
> Pleinlaan 2
> B-1050 Brussels
>
> Belgium e-mail: Serge.Gilen@vub.ac.be

You should not name the different types with the same name, Such as
 acl passhosts src134.184.31.0/255.255.255.0
 acl passhosts proxy_auth REQUIRED
You should change it as:
  acl passhosts src 134.184.31.0/255.255.255.0
    acl password proxy_auth REQUIRED
  acl bibliohosts src 134.184.57.0/255.255.255.0

 http_access allow bibliohosts
 http_access allow passhosts password
Received on Fri Mar 10 2000 - 02:52:17 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:52:02 MST