From: Amos Jeffries Date: Sun, 29 Oct 2023 19:17:22 +0000 (+0000) Subject: Remove cachemgr.cgi tool (#1542) X-Git-Tag: SQUID_7_0_1~309 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d554eaad6a6b25d36d7a8551b78e12283938b165;p=thirdparty%2Fsquid.git Remove cachemgr.cgi tool (#1542) --- diff --git a/INSTALL b/INSTALL index 7353df9de6..da2f34cd4a 100644 --- a/INSTALL +++ b/INSTALL @@ -22,7 +22,3 @@ To run a Cache, you will need to: 3. start the cache: % /usr/local/squid/sbin/squid - -If you want to use the WWW interface to the Cache Manager, copy -the tools/cachemgr.cgi program into your httpd server's cgi-bin -directory. diff --git a/configure.ac b/configure.ac index 389206c8bc..5e5939526a 100644 --- a/configure.ac +++ b/configure.ac @@ -993,23 +993,6 @@ AS_IF([test "x$enable_snmp" = "xyes"],[SNMPLIB="../lib/snmplib/libsnmplib.la"]) AC_MSG_NOTICE([SNMP support enabled: $enable_snmp]) AC_SUBST(SNMPLIB) -AC_ARG_ENABLE(cachemgr-hostname, - AS_HELP_STRING([--enable-cachemgr-hostname=hostname], - [Make cachemgr.cgi default to this host. - If unspecified, uses the name of the build-host]), [ - AS_CASE([$enableval], - [yes],[ - AC_DEFINE(CACHEMGR_HOSTNAME,[getfullhostname()], - [If you are upset that the cachemgr.cgi form comes up with the hostname field blank, then define this to getfullhostname()]) - AC_MSG_NOTICE([Cachemgr default hostname == host where cachemgr runs]) - ], - [no],[:], - [ - AC_DEFINE_UNQUOTED(CACHEMGR_HOSTNAME,"${enableval}") - AC_MSG_NOTICE([Cachemgr default hostname set to ${enableval}]) - ]) -]) - AC_ARG_ENABLE(eui, AS_HELP_STRING([--disable-eui], [Disable use of ARP / MAC/ EUI (ether address)]), [ diff --git a/doc/Programming-Guide/03_MajorComponents.dox b/doc/Programming-Guide/03_MajorComponents.dox index c3d13bf209..436a08be63 100644 --- a/doc/Programming-Guide/03_MajorComponents.dox +++ b/doc/Programming-Guide/03_MajorComponents.dox @@ -143,17 +143,14 @@ TODO: decide what to do for comm_poll() since its either obsolete or uses other \section CacheManager Cache Manager \par This provides access to certain information needed by the - cache administrator. A companion program, cachemgr.cgi - can be used to make this information available via a Web - browser. Cache manager requests to Squid are made with a - special URL of the form + cache administrator. Cache manager requests to Squid are + made with a special URL of the form \code - cache_object://hostname/operation + http://hostname:3128/squid-internal-mgr/menu \endcode The cache manager provides essentially "read-only" access to information. It does not provide a method for configuring Squid while it is running. -TODO: get cachemgr.cgi documenting \section NetworkMeasurementDB Network Measurement Database \par diff --git a/doc/release-notes/release-7.sgml.in b/doc/release-notes/release-7.sgml.in index 60e43ba786..8ed6306c9c 100644 --- a/doc/release-notes/release-7.sgml.in +++ b/doc/release-notes/release-7.sgml.in @@ -30,7 +30,6 @@ The Squid-@SQUID_RELEASE@ change history can be Cache Manager changes