You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2005/01/30 02:53:15 UTC

svn commit: r149091 - /httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en /httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml

Author: rbowen
Date: Sat Jan 29 17:53:14 2005
New Revision: 149091

URL: http://svn.apache.org/viewcvs?view=rev&rev=149091
Log:
As pointed out in bug 33290, we really don't want a <Limit> directive
here at all.

Modified:
   httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en
   httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml

Modified: httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en?view=diff&rev=149091&p1=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en&r1=149090&p2=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en&r2=149091
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en	(original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.html.en	Sat Jan 29 17:53:14 2005
@@ -43,12 +43,21 @@
       &lt;/Location&gt;
     </code></p></div>
 
-    <p>You may wish to add a 
-    <code class="directive"><a href="../mod/core.html#limit">&lt;Limit&gt;</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">&lt;Location&gt;</a></code>
     directive to limit access to your server configuration 
-    information.</p>
+    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.dom/server-info</code></p>

Modified: httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml
Url: http://svn.apache.org/viewcvs/httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml?view=diff&rev=149091&p1=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml&r1=149090&p2=httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml&r2=149091
==============================================================================
--- httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml	(original)
+++ httpd/httpd/branches/2.0.x/docs/manual/mod/mod_info.xml	Sat Jan 29 17:53:14 2005
@@ -40,12 +40,21 @@
       &lt;/Location&gt;
     </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>
+      &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.dom/server-info</code></p>