httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r149092 - /httpd/httpd/trunk/docs/manual/mod/mod_info.html.en /httpd/httpd/trunk/docs/manual/mod/mod_info.xml
Date Sun, 30 Jan 2005 01:59:45 GMT
Author: rbowen
Date: Sat Jan 29 17:59:44 2005
New Revision: 149092

URL: http://svn.apache.org/viewcvs?view=rev&rev=149092
Log:
As per bug 33290, we probably don't want a <Limit> here.

Modified:
   httpd/httpd/trunk/docs/manual/mod/mod_info.html.en
   httpd/httpd/trunk/docs/manual/mod/mod_info.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_info.html.en
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/mod/mod_info.html.en?view=diff&rev=149092&p1=httpd/httpd/trunk/docs/manual/mod/mod_info.html.en&r1=149091&p2=httpd/httpd/trunk/docs/manual/mod/mod_info.html.en&r2=149092
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_info.html.en	(original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_info.html.en	Sat Jan 29 17:59:44 2005
@@ -43,6 +43,22 @@
       &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 @@
 <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>

Modified: httpd/httpd/trunk/docs/manual/mod/mod_info.xml
Url: http://svn.apache.org/viewcvs/httpd/httpd/trunk/docs/manual/mod/mod_info.xml?view=diff&rev=149092&p1=httpd/httpd/trunk/docs/manual/mod/mod_info.xml&r1=149091&p2=httpd/httpd/trunk/docs/manual/mod/mod_info.xml&r2=149092
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_info.xml	(original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_info.xml	Sat Jan 29 17:59:44 2005
@@ -41,6 +41,22 @@
       &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>

Mime
View raw message