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:
@@ -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"><Directory></a></code>
|
||||
sections, not in <code class="directive"><a href="#location"><Location></a></code> or <code class="directive"><a href="#files"><Files></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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user