1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-06 09:01:14 +03:00

PR: Debian Bug report #169431 -- Documentation of AllowOverride strongly

(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
This commit is contained in:
Rich Bowen
2002-11-17 20:43:12 +00:00
parent 068d47522a
commit c85b3b31bd
2 changed files with 16 additions and 0 deletions

View 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

View 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