Apache also supports special configuration files, known as
.htaccess files. Almost any directive that appears in
apache2.conf can appear in an
.htaccess file. This file, specified in the
AccessFileName directive in
apache2.conf sets configurations on a per-directory (usually in a user directory) basis. As the system administrator, you can specify both the name of this file and which of the server configurations can be overridden by the contents of this file. This is especially useful for sites in which there are multiple content providers and you want to control what these people can do with their space.
To limit which server configurations the
.htaccess files can override, use the
AllowOverride directive. ...