Commit 2c0466fa authored by Richard Bowen's avatar Richard Bowen
Browse files

Warning about mixing +/- with bareword Options


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@330409 13f79535-47bb-0310-9956-ffa450edef68
parent c64a3138
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -948,6 +948,8 @@ Location</a></li>
    support.</li>
    <li>On Linux the use of sendfile triggers TCP-checksum
    offloading bugs on certain networking cards when using IPv6.</li>
    <li>On Linux on Itanium, sendfile may be unable to handle files
    over 2GB in size.</li>
    <li>With a network-mounted <code class="directive"><a href="#documentroot">DocumentRoot</a></code> (e.g., NFS or SMB),
    the kernel may be unable to serve the network file through
    its own cache.</li>
@@ -2329,6 +2331,12 @@ directory</td></tr>
    <code>-</code> are removed from the options currently in
    force. </p>

    <div class="warning"><h3>Warning</h3>
    <p>Mixing <code class="directive">Options</code> with a <code>+</code> or
    <code>-</code> with those without is not valid syntax, and is likely
    to cause unexpected results.</p>
    </div>

    <p>For example, without any <code>+</code> and <code>-</code> symbols:</p>

    <div class="example"><p><code>
+6 −0
Original line number Diff line number Diff line
@@ -2326,6 +2326,12 @@ directory</description>
    <code>-</code> are removed from the options currently in
    force. </p>

    <note type="warning"><title>Warning</title>
    <p>Mixing <directive>Options</directive> with a <code>+</code> or
    <code>-</code> with those without is not valid syntax, and is likely
    to cause unexpected results.</p>
    </note>

    <p>For example, without any <code>+</code> and <code>-</code> symbols:</p>

    <example>