Search squid archive

Re: Remote squidclient

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ron Richardson wrote:
I have the MacPort of Squid running on a Mac Mini.  Works great.  But I
don't want to tax it with all of the reporting stuff (Apache, RRDTool,
etc.).  I want to run those on an existing web server.  I read in Duane
Wessel's book (page 288) that "If you have additional trusted hosts, you
may want to add them to the access rules also.", which I did in
squid.conf...

acl manager proto cache_object
acl localhost src 127.0.0.1/255.255.255.255
acl mgrhost src 170.158.132.7/255.255.255.255
http_access allow manager mgrhost
http_access allow manager localhost
http_access deny manager

But when I run a squidclient request from the 132.7 host...

squidclient cache_object://squide.liverpool.k12.ny.us/info

I get the error...
client: ERROR: Cannot connect to localhost:3128: Connection refused


squidclient needs to be told what server the proxy is, or it will assume its running on the proxy box privately.

ie.
  squidclient -h squide.liverpool.k12.ny.us mgr:info


Amos
--
Please use Squid 2.6.STABLE20 or 3.0.STABLE5

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux