Chapter 11. What's Going On?
Apache is able to report to a client a great deal of what is happening to it internally. The necessary module is contained in the mod_info.c file, which should be included at build time. It 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. To enable it, either load the corresponding module if you are running Win32 or Unix with DSO support enabled, or add the following line to the server build Config file and rebuild the server:
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.
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>'
Copyright © 2001 O'Reilly & Associates. All rights reserved.