Commit f340b913 authored by Richard Bowen's avatar Richard Bowen
Browse files

As pointed out in bug 33290, we really don't want a <Limit> directive

here at all.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.0.x@149091 13f79535-47bb-0310-9956-ffa450edef68
parent 9a0b7303
Loading
Loading
Loading
Loading
+13 −4
Changes for docs/manual/mod/mod_info.html.en: 13 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -43,12 +43,21 @@ configuration</td></tr>
      &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>
+13 −4
Changes for docs/manual/mod/mod_info.xml: 13 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -40,12 +40,21 @@ configuration</description>
      &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>