Hey,

What version are you using?
Squid since version 3.X has a built in interface which might fit your needs.
You can see an example of usage at:
http://wiki.squid-cache.org/Features/CacheManager#default

What you will need to do is to access the proxy directly using a url like:
http://mycache.example.com:3128/squid-internal-mgr/menu

and for the info page from the menu:
http://mycache.example.com:3128/squid-internal-mgr/info

So unless you have a special need for the cache manger cgi you should use the 
http one.

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: elie...@ngtech.co.il


-----Original Message-----
From: squid-users [mailto:squid-users-boun...@lists.squid-cache.org] On Behalf 
Of reinerotto
Sent: Sunday, July 24, 2016 3:54 PM
To: squid-users@lists.squid-cache.org
Subject: [squid-users] cachemgr.cgi on embedded system

I have a problem to use cachemgr.cgi on an embedded system: 
(Cache Server: 127.0.0.1:3128; manager name: manager: Password: maypasswd)
browser:
The following error was encountered while trying to retrieve the URL:
cache_object://127.0.0.1/
Cache Manager Access Denied.
Sorry, you are not currently allowed to request cache_object://127.0.0.1/ from 
this cache manager until you have authenticated yourself.
ACL Access Denied

cache.log:
2016/07/24 13:19:00| CacheManager: unknown@local=127.0.0.1:3128
remote=127.0.0.1:56590 FD 18 flags=1: password needed for 'menu'

squid.conf:
acl manager proto cache_object
#next just for testing
http_access allow manager all
cachemgr_passwd mypasswd all

On the embedded system, there is only a small http-server (uhttpd) running, 
_not_ apache or similar, so I suspect some special "requirement" not met on my 
system.
It could be _either_ some special .configure option for squid (I have a 
downsized one, self-compiled) _or_ some speciality regarding my http-server, 
which otherwise works well.

Any ideas ? 




--
View this message in context: 
http://squid-web-proxy-cache.1019090.n4.nabble.com/cachemgr-cgi-on-embedded-system-tp4678665.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-users

Reply via email to