]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Admonish people not to put "AllowOverride All" in <Directory /> and
authorRich Bowen <rbowen@apache.org>
Sat, 9 Aug 2008 20:12:31 +0000 (20:12 +0000)
committerRich Bowen <rbowen@apache.org>
Sat, 9 Aug 2008 20:12:31 +0000 (20:12 +0000)
expect it to do anything useful.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@684326 13f79535-47bb-0310-9956-ffa450edef68

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

index 7d7ebac6783db7ab4e651cd89af2a1862a166ebb..30074fe495065bc68d0190f1fc111d8a0cbe940a 100644 (file)
@@ -500,6 +500,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 b6e351e2c802bc014eafcf7c3dc5a23400843f85..fa2975257cf1f5ad80997015d169bb5db0d30965 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>