Re: [squid-users] Accessing cachemgr.cgi

From: hdkutz <>
Date: Wed, 16 Apr 2008 10:13:24 +0200

On Tue, Apr 15, 2008 at 01:53:46PM -0800, Chris Robertson wrote:
> hdkutz wrote:
> >Hello List,
> >pretty new to squid 3.0.
> >Tried to configure cachemgr.cgi.
> >Problem:
> >Squid is not listening to his standard port 3128.
> >It is configured to Listen on port 80.
> >Apache Webserver is configured to use port 3128.
> >If I try to access http://proxy:3128/cgi-bin/cachemgr.cgi I'll get
> ><snip>
> >connect (111) Connection refused
> ><snip>
> >
> ><snipy>
> >[root@proxy etc]# grep manager squid.conf
> >acl manager proto cache_object
> >http_access allow manager localhost
> >http_access deny manager
> >[root@proxy etc]# grep localhost squid.conf
> >acl localhost src
> >acl to_localhost dst
> >http_access allow manager localhost
> >http_access allow localhost
> >[root@proxy etc]# grep cachemgr.conf
> >
> >
> ><snipy>
> >
> >Am I missing something?
> >
> My guess would be that either you have specified an IP address on the
> "port" line of your squid.conf, which forces Squid to only bind to the
> interface where that IP is assigned, or something is preventing local
> communication (be it SELinux, firewall rules...).
> Chris
Thanx for your suggestion.
No SELinux, firewall rules.
You are right. Indeed, squid only listens on one IP.
Reconfigured squid to listen on also.
Got now:
The requested URL could not be retrieved

While trying to retrieve the URL: cache_object://

The following error was encountered:

    * Access Denied.

      Access control configuration prevents your request from being allowed at
this time. Please contact your service provider if you feel this is incorrect.

Your cache administrator is webmaster.
Generated Wed, 16 Apr 2008 08:04:05 GMT by proxy (squid/3.0.STABLE4)
Seems to me, that an ACL is missing.
But, acl localhost is already there (see above).
Does this acl misses something.


Jabba the Hutt:
	Bring me Solo and the Wookiee! They will all suffer
	for this outrage.
Received on Tue Apr 22 2008 - 16:20:23 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT