RW wrote:
I don't have any of the internal icons showing in browsers. With
wget -S, I'm seeing a 404 and X-Squid-Error: ERR_INVALID_REQ 0 on the
icon urls.
What does your access.log say?
Failing that your cache.log?
I suspect you are blocking certain types of file or request.
Amos
This is just a local cache on my FreeBSD 7.0 desktop, short_icon_urls
doesn't seem to make any difference, and global_internal_static is set
to its default.
The path looks correct in squid.conf and the permissions look OK:
in squid.conf:
icon_directory /usr/local/etc/squid/icons
The permissions:
rwxr-xr-x 2 root squid 1024 Mar 17 22:37 /usr/local/etc/squid/icons
-r--r--r-- 1 root wheel 166 Mar 17 22:37 /usr/local/etc/squid/icons/anthony-binhex.gif
-r--r--r-- 1 root wheel 192 Mar 17 22:37 /usr/local/etc/squid/icons/anthony-bomb.gif
-r--r--r-- 1 root wheel 176 Mar 17 22:37 /usr/local/etc/squid/icons/anthony-box.gif
...
$ squid -v
Squid Cache: Version 2.6.STABLE18
configure options: '--bindir=/usr/local/sbin'
'--sbindir=/usr/local/sbin' '--datadir=/usr/local/etc/squid'
'--libexecdir=/usr/local/libexec/squid'
'--localstatedir=/usr/local/squid' '--sysconfdir=/usr/local/etc/squid'
'--enable-removal-policies=lru heap' '--disable-linux-netfilter'
'--disable-linux-tproxy' '--disable-epoll' '--enable-auth=basic ntlm
digest' '--enable-basic-auth-helpers=DB NCSA PAM MSNT SMB YP'
'--enable-digest-auth-helpers=password'
'--enable-external-acl-helpers=ip_user session unix_group wbinfo_group'
'--enable-ntlm-auth-helpers=SMB'
'--enable-negotiate-auth-helpers=squid_kerb_auth' '--with-pthreads'
'--enable-storeio=ufs diskd null aufs' '--enable-err-languages=English'
'--enable-default-err-language=English' '--prefix=/usr/local'
'--mandir=/usr/local/man' '--infodir=/usr/local/info/'
'i386-portbld-freebsd7.0' 'build_alias=i386-portbld-freebsd7.0'
'host_alias=i386-portbld-freebsd7.0'
'target_alias=i386-portbld-freebsd7.0' 'CC=cc' 'CFLAGS=-O2
-fno-strict-aliasing -pipe -march=athlon-mp ' 'LDFLAGS=' 'CPPFLAGS='
--
Please use Squid 2.6STABLE17+ or 3.0STABLE1+
There are serious security advisories out on all earlier releases.