If your .htaccess file contains directives that aren’t
covered by the current set of override categories, they won’t
cause an error — the server will just ignore them. So your
file can contain directives in any — or all — of the categories,
and only those in the categories listed in the AllowOverride
list will be processed. All of the others will be checked for
syntax, but otherwise not interpreted.
Apache directives fall into seven different categories, and all can
appear in the server-wide config files. Only five of the categories
can be used in .htaccess files, though, and in order for
Apache to accept a directive in a per-directory file,
the settings for the directory must permit the directive’s
category to be overridden.
The five categories of directives are:
AuthConfigAuthName, Satisfy, and RequireFileInfoIndexesIndexOptions,AddDescription, and DirectoryIndex,LimitAuthConfig oneOrder,Allow, and Deny.OptionsOptions category is intended for directivesContentDigest, XBitHack, andOptions itself. A special directive, which is usable only in the server-wide
configuration files, dictates which categories may be overridden
in any particular directory tree.
The AllowOverride directive accepts two special
keywords in addition to the category names listed above:
All AllowOverride AuthConfig FileInfo Indexes Limits Options
AllowOverride All
None.htaccess files for the specified directory andAllowOverride.htaccess files, much less process them. Thishttpd.conf file includes such a.htaccess processing is disabled for allProperty of TechnologyAdvice. © 2025 TechnologyAdvice. All Rights Reserved
Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.