Return-Path: Delivered-To: apmail-httpd-cvs-archive@httpd.apache.org Received: (qmail 69010 invoked by uid 500); 17 Feb 2002 04:03:22 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 68999 invoked by uid 500); 17 Feb 2002 04:03:22 -0000 Delivered-To: apmail-httpd-2.0-cvs@apache.org Date: 17 Feb 2002 04:03:21 -0000 Message-ID: <20020217040321.19481.qmail@icarus.apache.org> From: rbowen@apache.org To: httpd-2.0-cvs@apache.org Subject: cvs commit: httpd-2.0/docs/manual/mod mod_info.xml X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N rbowen 02/02/16 20:03:21 Added: docs/manual/mod mod_info.xml Log: First attempt at converting a module doc to xml. Revision Changes Path 1.1 httpd-2.0/docs/manual/mod/mod_info.xml Index: mod_info.xml =================================================================== mod_info Extension This module provides a comprehensive overview of the server configuration including all installed modules and directives in the configuration files. info_module mod_info.c Available in Apache 1.1 and later

Using mod_info

To configure it, add the following to your httpd.conf file.

<Location /server-info>
SetHandler server-info
</Location>
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.

AddModuleInfo Allows additional information to be added to the module information displayed by the server-info handler AddModuleInfo module-name string none server config virtual host Apache 1.3 and above

This allows the content of string to be shown as HTML interpreted, Additional Information for the module module-name. Example:

AddModuleInfo mod_auth.c 'See <A HREF="http://www.apache.org/docs/mod/mod_auth.html">http://www.apache.org/docs/mod/mod_auth.html</A>'