]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Merge r684326 from trunk:
authorTakashi Sato <takashi@apache.org>
Tue, 2 Dec 2008 17:27:40 +0000 (17:27 +0000)
committerTakashi Sato <takashi@apache.org>
Tue, 2 Dec 2008 17:27:40 +0000 (17:27 +0000)
Admonish people not to put "AllowOverride All" in <Directory /> and
expect it to do anything useful.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@722534 13f79535-47bb-0310-9956-ffa450edef68

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

index 2366b48ff80d3cc985bc5437cb2e6cb5c2e66ae5..494e392f281953bf58f396d2cb5ef08a2d312133 100644 (file)
@@ -502,6 +502,14 @@ be passed through</td></tr>
     <code>AuthConfig</code> nor <code>Indexes</code> cause an internal
     server error.</p>
 
+    <div class="note"><p>For security and performance reasons, do not set
+    <code>AllowOverride</code> to anything other than <code>None</code> 
+    in your <code>&lt;Directory /&gt;</code> block. Instead, find (or
+    create) the <code>&lt;Directory&gt;</code> block that refers to the
+    directory where you're actually planning to place a
+    <code>.htaccess</code> file.</p>
+    </div>
+
 <h3>See also</h3>
 <ul>
 <li><code class="directive"><a href="#accessfilename">AccessFileName</a></code></li>
index 8e2dc1c8d93a5857adf15feabae24ea962f59341..5e774bfbde9f13d825ba579692f1521c9970d3ee 100644 (file)
@@ -461,6 +461,14 @@ be passed through</description>
     <p>In the example above all directives that are neither in the group
     <code>AuthConfig</code> nor <code>Indexes</code> cause an internal
     server error.</p>
+
+    <note><p>For security and performance reasons, do not set
+    <code>AllowOverride</code> to anything other than <code>None</code> 
+    in your <code>&lt;Directory /&gt;</code> block. Instead, find (or
+    create) the <code>&lt;Directory&gt;</code> block that refers to the
+    directory where you're actually planning to place a
+    <code>.htaccess</code> file.</p>
+    </note>
 </usage>
 
 <seealso><directive module="core">AccessFileName</directive></seealso>