Name

AllowOverride

Synopsis

                     AllowOverride 
                     options 
                     ...

[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 and XBitHack directives.

Indexes

Allow use of directory indexing directives (FancyIndexing, AddIcon, and AddDescription, 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 other Auth* directives.

Limit

Allow use of the allow, deny, and order 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.