]> granicus.if.org Git - apache/commitdiff
As per bug 33290, we probably don't want a <Limit> here.
authorRich Bowen <rbowen@apache.org>
Sun, 30 Jan 2005 01:59:44 +0000 (01:59 +0000)
committerRich Bowen <rbowen@apache.org>
Sun, 30 Jan 2005 01:59:44 +0000 (01:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@149092 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_info.html.en
docs/manual/mod/mod_info.xml

index 3b70e3ddc037fa654deb4ccffc8151f040ad5afa..ed1b448165897680d43cfc0a7a5efbb2baeda0a1 100644 (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>
\ No newline at end of file
index 57fc6f2a805e76a75451096adc8eb61050e83d3d..59dd6ae0b28918b6a022c1fdf2c7c0e2c92fd79b 100644 (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>