From: Marc Slemko Date: Thu, 27 Feb 1997 02:56:32 +0000 (+0000) Subject: Clarify that mod_info uses startup-config and not running-config X-Git-Tag: APACHE_1_2b8~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6907d9053eddd6acc40dc2bc1cdcee514727dcea;p=apache Clarify that mod_info uses startup-config and not running-config and note that mod_info and mod_status can be enabled from things like .htaccess files. Submitted by: Ken Coar git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@77688 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_info.html b/docs/manual/mod/mod_info.html index fa98629087..34f7ea0a98 100644 --- a/docs/manual/mod/mod_info.html +++ b/docs/manual/mod/mod_info.html @@ -9,8 +9,9 @@

Module mod_info

This module is contained in the mod_info.c file. It -provides a comprehensive overview of the current server configuration -including all installed modules. This module is not compiled into the +provides a comprehensive overview of the server configuration +including all installed modules and directives in the configuration +files. This module is not compiled into the server by default. It is only available in Apache 1.1 and later. To enable it, add the following line to the server build Configuration file, and rebuild the server: @@ -29,12 +30,37 @@ SetHandler server-info </Location> -You may wish to add a limit clause inside the location directive to limit -access to your server configuration information.

+You may wish to add a +<Limit> +clause inside the +location +directive to limit access to your server configuration information.

Once configured, the server information is obtained by accessing http://your.host.dom/server-info

- +

+ + Note that the configuration files are read by the module at run-time, + and therefore the display may not reflect the running + server's active configuration if the files have been changed since the + server was last reloaded. Also, the configuration files must be + readable by the user as which the server is running (see the + User + directive), or else the directive settings will not be listed. +

+ It should also be noted that if mod_info is compiled into + the server, its handler capability is available in all + configuration files, including per-directory files + (e.g., .htaccess). This may have + security-related ramifications for your site. +

+
+
- diff --git a/docs/manual/mod/mod_status.html b/docs/manual/mod/mod_status.html index 1ce412c99d..79fd69e01b 100644 --- a/docs/manual/mod/mod_status.html +++ b/docs/manual/mod/mod_status.html @@ -80,7 +80,15 @@ Do this by adding the following to the AUX_CFLAGS line in the AUX_CFLAGS= (something) -DSTATUS +
+ + It should be noted that if mod_status is compiled into + the server, its handler capability is available in all + configuration files, including per-directory files + (e.g., .htaccess). This may have + security-related ramifications for your site. + +
-