Unfortunately these instructions do not appear to correspond to my set-up.
I have squid 2.6.STABLE9, Apache/2.0.55 running on Ubuntu 6.10 (kernel
On the instructions it says to set up a ScriptAlias in my httpd.conf file,
but I do not have a httpd.conf file.
Instead, I had to create a new "site" under /etc/apache2/sites-available.
Then you have to make a symlink to the file you just made under
/etc/apache2/sites-enabled. I also had to edit "ports.conf" to add the port
I wanted to listen for (I think this is an optional step).
Here is my site configuration:
NameVirtualHost *:8888 # port number I chose
Options Indexes FollowSymLinks MultiViews ExecCGI
allow from all
# Uncomment this directive if you want to see apache2's
# default start page (in /apache2-default) when you go to /
#RedirectMatch ^/$ /apache2-default/
ScriptAlias /Squid/cgi-bin/ /var/www/squid/cgi-bin/
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Allow from 192.168.1
CustomLog /var/log/apache2/squid/access.log combined
Alias /doc/ "/usr/share/doc/"
Options Indexes MultiViews FollowSymLinks
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
The script alias is supposed to point to /usr/share/squid/cgi-bin. I have
/usr/share but NOT /usr/share/squid. My cachemgr.cgi was located in
/usr/lib/squid/cachemgr.cgi, while the example on the wiki has it at
/usr/share/squid/cgi-bin/cachemgr.cgi. I copied my cachemgr.cgi to
/var/www/squid/cgi-bin/cachemgr.cgi so it would run.
Now my cache manager runs at
<a href="http://localhost:port/Squid/cgi-bin/cachemgr.cgi">http://localhost:port/Squid/cgi-bin/cachemgr.cgi as it should.
I hope this can help someone else trying to set up their Cache Manager
Computer Systems Administrator
Lambton County Human Resource Admin Services, Inc
Bayside Centre, Sarnia, Ontario
(519) 344-2062 ext. 2348
> I was trying to set up my squid manager client by following the
> at http://wiki.squid-cache.org/SquidFaq/CacheManager >
> Unfortunately these instructions do not appear to correspond to my set-up.
> I have squid 2.6.STABLE9, Apache/2.0.55 running on Ubuntu 6.10 (kernel
> 2.6.17-10-generic) 64-bit.
Ah, thank you for locating this oversight. I have corrected it by
splitting the Apache section for 1.x and 2.x specific configs.