</Location>
</code></p></div>
- <p>You may wish to add a
- <code class="directive"><a href="../mod/core.html#limit"><Limit></a></code>
- clause inside the
+ <p>You may wish to use <code class="module"><a href="../mod/mod_access.html">mod_access</a></code> inside the
<code class="directive"><a href="../mod/core.html#location"><Location></a></code>
directive to limit access to your server configuration
- information.</p>
+ information:</p>
+
+ <div class="example"><p><code>
+ <Location /server-info><br />
+ <span class="indent">
+ SetHandler server-info<br />
+ Order deny,allow<br />
+ Deny from all<br />
+ Allow from yourcompany.com<br />
+ </span>
+ </Location>
+ </code></p></div>
<p>Once configured, the server information is obtained by
accessing <code>http://your.host.dom/server-info</code></p>
</Location>
</example>
- <p>You may wish to add a
- <directive type="section" module="core">Limit</directive>
- clause inside the
+ <p>You may wish to use <module>mod_access</module> inside the
<directive type="section" module="core">Location</directive>
directive to limit access to your server configuration
- information.</p>
+ information:</p>
+
+ <example>
+ <Location /server-info><br />
+ <indent>
+ SetHandler server-info<br />
+ Order deny,allow<br />
+ Deny from all<br />
+ Allow from yourcompany.com<br />
+ </indent>
+ </Location>
+ </example>
<p>Once configured, the server information is obtained by
accessing <code>http://your.host.dom/server-info</code></p>