Name
AllowOverride
Synopsis
AllowOverride
options
...
Description
[Within <Directory>]
Controls the extent to which local per-directory .htaccess files can override the defaults defined by access control files in higher directories. The directive takes one or more options, which can be:
-
None Access control files are unrecognized in this directory.
-
All Access control files are unrestricted in this directory.
-
Options Allow use of the
OptionsandXBitHackdirectives.-
Indexes Allow use of directory indexing directives (
FancyIndexing,AddIcon, andAddDescription, etc.).-
FileInfo Allow use of the directive relating to document type: (
AddType,AddEncoding,AddLanguage, etc.).-
AuthConfig Allow use of these directives:
require,AuthName,AuthType,AuthUserFile,AuthGroupFile, or any otherAuth*directives.-
Limit Allow use of the
allow,deny, andorderdirectives.
If omitted, the default is:
AllowOverride All
(All)
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access