[squid-users] Problem defining external_acl_type

From: Peter Bengtsson <peter@dont-contact.us>
Date: Thu, 28 Sep 2006 12:40:38 +0100

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

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

-- 
Peter Bengtsson,
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com
Received on Thu Sep 28 2006 - 05:40:44 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT