]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
howto/htaccess.xml: Note that AllowOverride defaults to None
authorRich Bowen <rbowen@apache.org>
Fri, 15 May 2026 19:40:03 +0000 (19:40 +0000)
committerRich Bowen <rbowen@apache.org>
Fri, 15 May 2026 19:40:03 +0000 (19:40 +0000)
Users frequently miss that .htaccess files are disabled by default
(AllowOverride None since 2.3.9). Add an explicit note after the
AllowOverride explanation so this is immediately visible.

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

docs/manual/howto/htaccess.xml

index 6fd286af21cf80c211ee1af2be5fe0b5e9c274c9..16c1d2a369569ade0e4fde1be4d89adf500119d1 100644 (file)
@@ -96,6 +96,11 @@ AccessFileName ".config"
     module="core">AllowOverride</directive> in order for that
     directive to be permitted.</p>
 
+    <note>The default value of <directive
+    module="core">AllowOverride</directive> is <code>None</code>.
+    This means <code>.htaccess</code> files are completely ignored
+    unless you explicitly enable them for a directory.</note>
+
     <p>For example, if you look at the documentation for the <directive
     module="core">AddDefaultCharset</directive>
     directive, you will find that it is permitted in <code>.htaccess</code>