Name
AllowOverride
Synopsis
AllowOverrideoptions
..
.
[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
Options
andXBitHack
directives.-
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
, andorder
directives.
If omitted, the default is:
AllowOverride All
Get Webmaster in a Nutshell, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.