Skip to content

Commit 3755d44

Browse files
authored
Update SquidClientTool.md
1 parent 0b523de commit 3755d44

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/Features/CacheManager/SquidClientTool.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,25 @@
22

33
This tool is a command line utility for performing web requests.
44

5-
It also has a special ability to send cache manager requests to Squid
5+
It also has the ability to send cache manager requests to Squid
66
proxies.
77

8+
:warning: The `squidclient` tool is no longer distributed with
9+
Squid 7 and later. Squid-4 and later offer access to the cache
10+
manager over HTTP, which can be accessed using any web browser
11+
or command line tools such as `curl`
12+
13+
To access it:
14+
`curl -u user:pass http://127.0.0.1:3128/squid-internal-mgr/menu`
15+
(`user` can be any, `pass` is the password set with `cachemgr_passwd` in `squid.conf`.)
16+
17+
Replace `menu` with the cache manager report you are interested in,
18+
and 127.0.0.1 with host running squid. Make sure that the cache's `http_access`
19+
rules grant access to the cache itself.
20+
21+
822
## Cache manager access from squidclient
23+
:warning: this section is for historic reference only.
924

1025
A simple way to test the access to the cache manager is:
1126
```

0 commit comments

Comments
 (0)