The common wisdom to get the squid cachemgr.cgi to work is to include the
Quote:
cachemgr_passwd <pwd> activity
|
in squid.conf. Unfortunately it doesn't seem to work out of the box with cachemgr.cgi.
To view cache statistics, squid can show different stats via the built in cachemgr cgi interface. However, while i can get past the login screen to the menu, clicking on any of the links returns a ERR_CACHE_MGR_ACCESS_DENIED in the log files and a denied access web page.
Using squidclient with the password, on the other hand, i'm able to access the squid statistics, so the problem lies with cachemgr.cgi.
I've tried
Quote:
cachemgr_passwd disable all
|
but it errors out with a page saying there are quotation marks missing from the request.
Following the tcp stream, it seems that squidclient sends the correct password to the squid instance, but cachemgr.cgi doesn't. Is there a configuration step i'm missing?
I've seen recommendations on the web on setting
Quote:
http_access allow manager
|
, which is a pretty bad idea. And another which suggested adding
, which is also a bad idea.
How can i enable cachemgr.cgi to access the squid stats?