2
2
3
3
It is the Squid internal subsystem that provides a
4
4
common way for registering, finding and triggering management actions.
5
- It interfaces with the outside world through the normal Squid HTTP
6
- server, responding requests made with the ` /squid-internal-mgr ` well-known URL path,
7
- or with the now deprecated [ ` cache_object: ` URL scheme] ( /Features/CacheManager/CacheObjectScheme )
5
+ It interfaces with the outside world via HTTP
6
+ responding requests made with the ` /squid-internal-mgr ` well-known URL path
7
+ (e.g. http://127.0.0.1:3128/squid-internal-mgr/menu ) ,
8
+ or (until Squid 6.5) with the [ ` cache_object: ` URL scheme] ( /Features/CacheManager/CacheObjectScheme )
8
9
9
10
Sometimes it is confused with the [ Cache Manager CGI] ( /Features/CacheManager/CacheManagerCgi ) .
10
11
This last one is just an external CGI application that reads data from
@@ -20,18 +21,22 @@ password.
20
21
21
22
Squid packages come with some tools for accessing the cache manager:
22
23
- [ squidclient] ( /Features/CacheManager/SquidClientTool )
23
- is a command line utility for performing web requests. It also has a
24
- special ability to send cache manager requests to Squid proxies.
24
+ is a command line utility for performing web requests.
25
+ It also has the ability to send cache manager requests to Squid proxies.
26
+ It has been removed from Squid 7.
25
27
- [ CacheMgrJs] ( ./CacheMgrJs ) is a javascript-based tool
26
28
being developed as an alternative to the CGI tool
27
29
- (deprecated) [ cachemgr.cgi] ( ./CacheManagerCgi )
28
30
is a CGI utility for online browsing of the manager reports. It can
29
31
be configured to interface with multiple proxies so provides a
30
32
convenient way to manage proxies and view statistics without logging
31
33
into each server.
34
+ It has been removed from Squid 7.
32
35
33
36
Given that the Cache Manager uses plain HTTP, it's possible - and in fact easy -
34
- to develop custom tools
37
+ to develop custom tools. The most common one is curl, e.g.
38
+
39
+ ` curl -u user:pasword http://127.0.0.1:3128/squid-internal-mgr/menu `
35
40
36
41
## Controlling access to the cache manager
37
42
0 commit comments