Search squid archive

Re: Problem defining external_acl_type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Bengtsson wrote:
My squid.conf looks like this around the "crucial lines":
external_acl_type is_cacheable_type children=20 %{Cookie:__ac}
%{Cookie:;__ac} %\
{Cookie:_ZopeId} %{Cookie:;_ZopeId} %{Authorization} %{If-None-Match}
/etc/squid\
/squidAcl.py
#       Compatibility Note: The children= option was named concurrency= in
#       Squid-2.5.STABLE3 and earlier and such syntax is still accepted to
# keep compatibility within the Squid-2.5 release. However, the meaning
#       of concurrency= option has changed in Squid-3 and the old syntax of
# the directive is therefore deprecated from Squid-2.5.STABLE4 and later.
#       If you want to be able to easily downgrade to earlier Squid-2.5
#       releases you may want to continue using the old name, if not
#       please use the new name.

Try "concurrency" instead of "children". Or upgrade to a recent version of Squid, as 2.5STABLE3 was released more than three years ago (http://www.squid-cache.org/mail-archive/squid-users/200305/0998.html). A lot of improvements have been made since then...

acl is_cacheable external is_cacheable_type
no_cache allow is_cacheable

If I comment these lines out, squid starts but obviously without this setting.
This is the error I get:

# squid -N -d1
FATAL: Bungled squid.conf line 165: external_acl_type
is_cacheable_type children=20 %{Cookie:__ac} %{Cookie:;__ac}
%{Cookie:_ZopeId} %{Cookie:;_ZopeId} %{Authorization} %{If-None-Match}
/etc/squid/squidAcl.py
Squid Cache (Version 2.5.STABLE3): Terminated abnormally.

I got this setting from Plone's CacheFu product which (using a script)
created this squid.conf for me.
Any idea anyone?

# squid -v
Squid Cache: Version 2.5.STABLE3
configure options:  --host=i386-redhat-linux --build=i386-redhat-linux
--target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var
--sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --exec_prefix=/usr --bindir=/usr/sbin
--libexecdir=/usr/lib/squid --localstatedir=/var
--sysconfdir=/etc/squid --enable-poll --enable-snmp
--enable-removal-policies=heap,lru
--enable-storeio=aufs,coss,diskd,null,ufs --enable-ssl
--with-openssl=/usr/kerberos --enable-delay-pools
--enable-linux-netfilter --with-pthreads
--enable-basic-auth-helpers=LDAP,NCSA,PAM,SMB,SASL,MSNT,winbind
--enable-ntlm-auth-helpers=SMB,winbind,fakeauth
--enable-external-acl-helpers=ip_user,ldap_group,unix_group,wbinfo_group,winbind_group
--enable-auth=basic,ntlm --enable-useragent-log --enable-referer-log
--enable-fd-config
Love those RPM builds...  :o)

Chris


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux