Re: [squid-users] Accessing cachemgr.cgi

From: Chris Robertson <crobertson@dont-contact.us>
Date: Tue, 15 Apr 2008 13:53:46 -0800

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 127.0.0.1:80: (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 127.0.0.1/255.255.255.255
> acl to_localhost dst 127.0.0.0/8
> http_access allow manager localhost
> http_access allow localhost
> [root@proxy etc]# grep 127.0.0.1 cachemgr.conf
> 127.0.0.1
> 127.0.0.1:80
> <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
Received on Tue Apr 22 2008 - 14:20:49 MDT

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