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:
@@ -43,6 +43,22 @@ configuration</td></tr>
|
||||
</Location>
|
||||
</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"><Location></a></code>
|
||||
directive to limite access to your server configuration
|
||||
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.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"> ja </a> |
|
||||
<a href="../ko/mod/mod_info.html" hreflang="ko" rel="alternate" title="Korean"> ko </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>
|
||||
@@ -41,6 +41,22 @@ configuration</description>
|
||||
</Location>
|
||||
</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>
|
||||
<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.example.com/server-info</code></p>
|
||||
</summary>
|
||||
|
||||
Reference in New Issue
Block a user