Scroll to navigation

cachemgr.cgi(8) System Manager's Manual cachemgr.cgi(8)

NAME

cachemgr.cgi - Squid HTTP proxy manager CGI web interface

SYNOPSIS

http://your.server/cgi-bin/cachemgr.cgi

DESCRIPTION

The cache manager ( cachemgr.cgi ) is a CGI utility for displaying statistics about the Squid HTTP proxy process as it runs. The cache manager is a convenient way to manage the cache and view statistics without logging into the server.

CONFIGURATION

Configuration examples for many common web servers can be found in the Squid FAQ wiki. https://wiki.squid-cache.org/SquidFaq

./cachemgr.conf
/etc/squid/cachemgr.conf

The access configuration file defining which Squid servers may be managed via this cachemgr.cgi program. Each line specifies a server:port followed by an optional description

The server name may contain shell wildcard characters such as *, [] etc. A quick selection dropdown menu is automatically constructed from the simple server names.

Specifying :port is optional. If not specified then the default proxy port is assumed. :* or :any matches any port on the target server.

SECURITY

cachemgr.cgi calls the requested server on the requested port using HTTP and returns a formatted version of the response. To avoid abuse it is recommended to configure your web server to restrict access to the cachemgr.cgi program.

AUTHOR

Derived from Harvest. Further developed by numerous individuals from the internet community. Development is led by Duane Wessels of the National Laboratory for Applied Network Research and funded by the National Science Foundation.

COPYRIGHT


* Copyright (C) 1996-2023 The Squid Software Foundation and contributors
*
* Squid software is distributed under GPLv2+ license and includes
* contributions from numerous individuals and organizations.
* Please see the COPYING and CONTRIBUTORS files for details.

QUESTIONS

Questions on the usage of this program can be sent to the Squid Users mailing list <squid-users@lists.squid-cache.org>

REPORTING BUGS

See https://wiki.squid-cache.org/SquidFaq/BugReporting for details of what you need to include with your bug report.

Report bugs or bug fixes using https://bugs.squid-cache.org/

Report serious security bugs to Squid Bugs <squid-bugs@lists.squid-cache.org>

Report ideas for new improvements to the Squid Developers mailing list <squid-dev@lists.squid-cache.org>

SEE ALSO

squid(8), squidclient(1)