1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

As per bug 33290, we probably don't want a <Limit> here.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@149092 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Rich Bowen
2005-01-30 01:59:44 +00:00
parent 2b08994090
commit 2ebc402da0
2 changed files with 33 additions and 1 deletions

View File

@@ -43,6 +43,22 @@ configuration</td></tr>
&lt;/Location&gt;
</code></p></div>
<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">&lt;Location&gt;</a></code>
directive to limite access to your server configuration
information:</p>
<div class="example"><p><code>
&lt;Location /server-info&gt;<br />
<span class="indent">
SetHandler server-info<br />
Order deny,allow<br />
Deny from all<br />
Allow from yourcompany.com<br />
</span>
&lt;/Location&gt;
</code></p></div>
<p>Once configured, the server information is obtained by
accessing <code>http://your.host.example.com/server-info</code></p>
</div>
@@ -173,6 +189,6 @@ information displayed by the server-info handler</td></tr>
<a href="../ja/mod/mod_info.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
<a href="../ko/mod/mod_info.html" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a></p>
</div><div id="footer">
<p class="apache">Copyright 1995-2005 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="apache">Copyright 1999-2004 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
</body></html>

View File

@@ -41,6 +41,22 @@ configuration</description>
&lt;/Location&gt;
</example>
<p>You may wish to use <module>mod_access</module> inside the
<directive type="section" module="core">Location</directive>
directive to limite access to your server configuration
information:</p>
<example>
&lt;Location /server-info&gt;<br />
<indent>
SetHandler server-info<br />
Order deny,allow<br />
Deny from all<br />
Allow from yourcompany.com<br />
</indent>
&lt;/Location&gt;
</example>
<p>Once configured, the server information is obtained by
accessing <code>http://your.host.example.com/server-info</code></p>
</summary>