I set this up a little while ago. You don't need a web server on the squid
host at all. You just run the cachemgr.cgi on a separate machine and have it
look at your squid server. First you need to setup the acls for cachemgr
access to point to the web server that runs the cgi (from squid.conf):
acl manager proto cache_object
acl webservers src 1.1.1.1/255.255.255.2555 2.2.2.2/255.255.255.255
acl localhost src 127.0.0.1/255.255.255.255
http_access allow manager localhost
http_access allow manager webservers
http_access deny manager
Setup whatever authentication you desire. I just have a password for cachemgr,
but only allow viewing:
cachemgr_passwd batman
Then, just run the cgi program on the web server from your browser:
http://webserver/cgi-bin/cachemgr.cgi
the cache host is of course the squid server, the port is the browser port.
Regards
Edward Johnson wrote:
> Hi,
>
> We are currently pointing all internal browsers to squid first, then out the
> firewall. I'd like to know if I can use the cache manager (cachemage.cgi) in
> this scenario where the is no WEB server (Apache, CERN) involved. The FAQ
> would seem to indicate that I need a WEB server.
>
> Thanks.
> Ed Johnson
Received on Fri Sep 10 1999 - 00:16:35 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:23 MST