Yuri Voinov
2014-12-24 11:51:21 UTC
Hi, gents.
Now I have another problem. Cachemgr.cgi with password does not access
to Squid when password specified.
Look at squid.conf frag (this configuration ffragments derived from
working Squid2 installation):
# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager
# Cache manager
cache_mgr ***@gmail.com
# Cache manager password
cachemgr_passwd secret all
and when I login through local Apache - I've got Squid access denied
page and message in cache.log:
2014/12/24 17:44:17 kid1| CacheManager: ***@local=127.0.0.1:3127
remote=127.0.0.1:35146 FD 40 flags=1: password needed for 'menu'
Also, Munin plugins cannot work too - they use authenticated cachemgr login.
AFAIK, this means unknown user.
Ok,
now - what username I must use in cachemgr login form?
PS. I found temporary workaround - with disabling password protection
(and disabling dangerous actions in cachemgr), but want to find better
solution.
WBR, Yuri
Now I have another problem. Cachemgr.cgi with password does not access
to Squid when password specified.
Look at squid.conf frag (this configuration ffragments derived from
working Squid2 installation):
# Only allow cachemgr access from localhost
http_access allow localhost manager
http_access deny manager
# Cache manager
cache_mgr ***@gmail.com
# Cache manager password
cachemgr_passwd secret all
and when I login through local Apache - I've got Squid access denied
page and message in cache.log:
2014/12/24 17:44:17 kid1| CacheManager: ***@local=127.0.0.1:3127
remote=127.0.0.1:35146 FD 40 flags=1: password needed for 'menu'
Also, Munin plugins cannot work too - they use authenticated cachemgr login.
AFAIK, this means unknown user.
Ok,
now - what username I must use in cachemgr login form?
PS. I found temporary workaround - with disabling password protection
(and disabling dangerous actions in cachemgr), but want to find better
solution.
WBR, Yuri