]> granicus.if.org Git - apache/commitdiff
note that forbidden directives in htaccess files result in a 500. (PR 28535)
authorAndré Malo <nd@apache.org>
Sun, 25 Apr 2004 11:19:28 +0000 (11:19 +0000)
committerAndré Malo <nd@apache.org>
Sun, 25 Apr 2004 11:19:28 +0000 (11:19 +0000)
Additionally note that AllowOverride doesn't work in regex-<directory>
containers.

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

docs/manual/mod/core.xml

index 62703b9a2a5e75f43dceb5d24e959f34febdeaa6..8e58e0c568c6de7ed95b54c0dae56dee2b2a8bf2 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0"?>
 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
-<!-- $Revision: 1.84 $ -->
+<!-- $Revision: 1.85 $ -->
 
 <!--
  Copyright 2002-2004 The Apache Software Foundation
@@ -282,9 +282,10 @@ be passed through</description>
     <note><title>Only available in &lt;Directory&gt; 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.
+    sections specified without regular expressions, not in <directive
+    type="section" module="core">Location</directive>, <directive
+    module="core" type="section">DirectoryMatch</directive> or
+    <directive type="section" module="core">Files</directive> sections.
     </note>
 
     <p>When this directive is set to <code>None</code>, then
@@ -367,6 +368,10 @@ be passed through</description>
     <example>
       AllowOverride AuthConfig Indexes
     </example>
+
+    <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>
 </usage>
 
 <seealso><directive module="core">AccessFileName</directive></seealso>