]> granicus.if.org Git - apache/commitdiff
PR: Debian Bug report #169431 -- Documentation of AllowOverride strongly
authorRichard Bowen <rbowen@apache.org>
Sun, 17 Nov 2002 20:43:12 +0000 (20:43 +0000)
committerRichard Bowen <rbowen@apache.org>
Sun, 17 Nov 2002 20:43:12 +0000 (20:43 +0000)
(and wrongly) implies it is valid within a <Location> directive.
This patch corrects that, as you really can't use AllowOverride in Files
or Location sections.

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

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

index d14fc9c0e2906d9e3d2d6a8d951cf2cc76c4b374..7c9984594eee9838d902fc2de801e5075cc4dd4a 100644 (file)
@@ -238,6 +238,13 @@ response without an explicit character set</td></tr><tr><th><a href="directive-d
     which directives declared in that file can override earlier
     access information.</p>
 
+    <div class="note"><h3>Only available in Location sections</h3>
+    <code class="directive">AllowOverride</code> is valid only in
+    <code class="directive"><a href="#directory">&lt;Directory&gt;</a></code> 
+    sections, not in <code class="directive"><a href="#location">&lt;Location&gt;</a></code> or <code class="directive"><a href="#files">&lt;Files&gt;</a></code> sections, as implied by the
+    <strong>Context</strong> section above.
+    </div>
+
     <p>When this directive is set to <code>None</code>, then
     .htaccess files are completely ignored. In this case, the
     server will not even attempt to read .htaccess files in the
index a24957f317c3832a37787680304da1e1f31649c5..aa7752c5f6fe1800ed6e51c8fd63bbf19aed324f 100644 (file)
@@ -217,6 +217,15 @@ response without an explicit character set</description>
     which directives declared in that file can override earlier
     access information.</p>
 
+    <note><title>Only available in Location sections</title>
+    <directive>AllowOverride</directive> is valid only in
+    <directive type="section" module="core">Directory</directive> 
+    sections, not in <directive type="section" 
+    module="core">Location</directive> or <directive type="section"
+    module="core">Files</directive> sections, as implied by the
+    <strong>Context</strong> section above.
+    </note>
+
     <p>When this directive is set to <code>None</code>, then
     .htaccess files are completely ignored. In this case, the
     server will not even attempt to read .htaccess files in the