Re: [squid-users] R: [squid-users] Re: R: [squid-users] R: [squid-users] Which ports on my firewall for CACHE MANAGER?

From: Colin Campbell <sgcccdc@dont-contact.us>
Date: Wed, 17 Apr 2002 09:00:20 +1000 (EST)

Hi,

On Tue, 16 Apr 2002, Boniforti Flavio wrote:

> Apache listens on IP 192.168.0.138 port 80, squid is configured on the
> same IP Address, therefore cachemgr.cgi listens on IP 192.168.0.138 port
> 8080.

No it (cachemgr.cgi) doesn't. To use cachemgr.cgi you have to ensure
apache is able to run it as a cgi. For example on my desktop, I run squid
and have apache running. cachemgr.cgi is in the apache cgi-bin directory.
To get to cachemgr I just give a url where apache can find the cgi
scripts, for example:

        http://localhost/cgi-bin/cachemgr.cgi

and the cachemgr "login" screen appears. The parameters on display are:

        Cache Host: localhost
        Cache Port: 3128

The crucial things now are that:

a) cachemgr.cgi is not blocked by packet filters or anything from talking
   to squid.
b) squid is configured to allow cachemgr to connect. For example on my
   system (and this is probably from the defaults anyway) I have

        acl manager proto cache_object
        acl localhost src 127.0.0.1

        http_access allow manager localhost
        http_access deny manager

   and it all works.

As Henrik has said, make sure everything that needs to talk to something
else can.

Colin
Received on Tue Apr 16 2002 - 17:01:13 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:07:35 MST