mirror of
https://github.com/apache/httpd.git
synced 2025-10-27 09:35:38 +03:00
necessary to avoid having to keep the two in sync while we convert. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93501 13f79535-47bb-0310-9956-ffa450edef68
174 lines
4.9 KiB
HTML
174 lines
4.9 KiB
HTML
<html>
|
|
<head>
|
|
<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
|
|
<!--
|
|
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
This file is generated from xml source: DO NOT EDIT
|
|
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
|
|
-->
|
|
<title>mod_info - Apache HTTP Server</title>
|
|
<link href="../style/manual.css" type="text/css" rel="stylesheet">
|
|
</head>
|
|
<body>
|
|
<blockquote>
|
|
<div align="center">
|
|
<img alt="[APACHE DOCUMENTATION]" src="../images/sub.gif"><h3>Apache HTTP Server Version 2.0</h3>
|
|
</div>
|
|
<h1 align="center">Apache Module mod_info</h1>
|
|
<table cellspacing="1" cellpadding="0" bgcolor="#cccccc">
|
|
<tr>
|
|
<td>
|
|
<table bgcolor="#ffffff">
|
|
<tr>
|
|
<td><span class="help">Description:</span></td><td>
|
|
<description>This module provides a comprehensive overview of the server
|
|
configuration including all installed modules and directives in the
|
|
configuration files.</description>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="module-dict.html#Status" class="help">Status:</a></td><td>Extension</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="module-dict.html#ModuleIdentifier" class="help">Module Identifier:</a></td><td>info_module</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="module-dict.html#Compatibility" class="help">Compatibility:</a></td><td>
|
|
<compatibility>Available in Apache 1.1 and later</compatibility>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<h2>Summary</h2>
|
|
<summary>
|
|
|
|
|
|
<h2>Using mod_info</h2>
|
|
|
|
|
|
<p>To configure it, add the following to your
|
|
<code>httpd.conf</code> file.</p>
|
|
|
|
|
|
<blockquote>
|
|
<table cellpadding="10">
|
|
<tr>
|
|
<td bgcolor="#eeeeee"><code>
|
|
<Location /server-info><br>
|
|
SetHandler server-info<br>
|
|
</Location><br>
|
|
|
|
</code></td>
|
|
</tr>
|
|
</table>
|
|
</blockquote>
|
|
|
|
You may wish to add a
|
|
<code class="directive"><a href="core.html#<limit>" class="directive"><Limit></a></code>
|
|
clause inside the
|
|
<code class="directive"><a href="core.html#<location>" class="directive"><location></a></code>
|
|
directive to limit access to your server configuration
|
|
information.
|
|
|
|
<p>Once configured, the server information is obtained by
|
|
accessing <code>http://your.host.dom/server-info</code>
|
|
</p>
|
|
|
|
|
|
<blockquote>
|
|
<table>
|
|
<tr>
|
|
<td bgcolor="#e0e5f5">
|
|
Note that the configuration files are read by the
|
|
module at run-time, and therefore the display may
|
|
<em>not</em> 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
|
|
<code class="directive"><a href="mpm_common.html#user" class="directive">User</a></code> directive), or
|
|
else the directive settings will not be listed.
|
|
|
|
<p>It should also be noted that if
|
|
<code><a href="mod_info.html">mod_info</a></code> is compiled into the server, its
|
|
handler capability is available in <em>all</em> configuration
|
|
files, including <em>per</em>-directory files (<em>e.g.</em>,
|
|
<code>.htaccess</code>). This may have security-related
|
|
ramifications for your site.</p>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</blockquote>
|
|
|
|
</summary>
|
|
<h2>Directives</h2>
|
|
<ul>
|
|
<li>
|
|
<a href="#addmoduleinfo">AddModuleInfo</a>
|
|
</li>
|
|
</ul>
|
|
<hr>
|
|
<h2>
|
|
<a name="AddModuleInfo">AddModuleInfo</a> <a name="addmoduleinfo">Directive</a>
|
|
</h2>
|
|
<table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc">
|
|
<tr>
|
|
<td>
|
|
<table width="100%" bgcolor="#ffffff">
|
|
<tr>
|
|
<td><strong>Description: </strong></td><td>Allows additional information to be added to the module
|
|
information displayed by the server-info handler</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="directive-dict.html#Syntax" class="help">Syntax:</a></td><td>
|
|
<syntax>AddModuleInfo <em>module-name string</em>
|
|
</syntax>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="directive-dict.html#Default" class="help">Default:</a></td><td><code>none</code></td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="directive-dict.html#Context" class="help">Context:</a></td><td>server config, virtual
|
|
host</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="directive-dict.html#Status" class="help">Status:</a></td><td>Extension</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="directive-dict.html#Module" class="help">Module:</a></td><td>mod_info</td>
|
|
</tr>
|
|
<tr>
|
|
<td><a href="directive-dict.html#Compatibility" class="help">Compatibility:</a></td><td>Apache 1.3 and above</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<usage>
|
|
|
|
<p>This allows the content of <em>string</em> to be shown as
|
|
HTML interpreted, <strong>Additional Information</strong> for
|
|
the module <em>module-name</em>. Example:</p>
|
|
|
|
|
|
<blockquote>
|
|
<table cellpadding="10">
|
|
<tr>
|
|
<td bgcolor="#eeeeee"><code>
|
|
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>'
|
|
</code></td>
|
|
</tr>
|
|
</table>
|
|
</blockquote>
|
|
|
|
</usage>
|
|
<hr>
|
|
<h3 align="center">Apache HTTP Server Version 2.0</h3>
|
|
<a href="./"><img alt="Index" src="../images/index.gif"></a><a href="../"><img alt="Home" src="../images/home.gif"></a>
|
|
</blockquote>
|
|
</body>
|
|
</html>
|