I've a problem with squid and I'm trying to configure cachemgr.cgi to monitor it.
I access with http://server/cgi-bin/cachemgr.cgi
a webpage is displayed to enter
I enter the cache-server, host, port and password and a page with many options is displayed (Manager name left empty, don't know what to put).
But pressing any option, an authentication error is displayed.
What I try:
- To allow full access to cache mgr from a IP (I'll restrict it).
- Control all my squid-cache form a single cachemgr.cgi.
What I've configured:
acl manager proto cache_object
http_access allow manager (allow from all, restrict later).
cachemgr_passwd my_sec_pass all
From command line works:
squidclient -p 1081 mgr:info@my_sec_pass
but not from web (options displayed, but error accessing any of them).
Ex: Pressing an option, cache.log displays error:
The request GET cache_object://server.domain/offline_toggle is ALLOWED, because it matched 'manager'
CACHEMGR: <unknown>@10.22.234.23: password needed for 'offline_toggle'