A dynamic configuration file is an HTTP server configuration
file that allows certain aspects of the server's configuration to be
altered at run time. Dynamic configuration files are also known as a
.htaccess files because they are typically named
.htaccess. They are text files that contain server
configuration directives and they can appear in any directory visible
to your HTTP server.
Using dynamic configuration files, you can add new MIME type mappings,
add user- and host-based authentication to files and directories,
alter the form of server-parsed HTML used on your server, configure
the text of messages returned when your server encounters an error,
control URL mappings with redirections, and customize HTTP response
headers.
All of these capabilities are discussed elsewhere in this document.
The Apache documentation does not discuss dynamic configuration files explicitly, but the documentation for each
configuration directive specifies whether the directive can appear in
a .htaccess file. Visit the Apache run-time
configuration directives document and select Options.
You'll see that .htaccess appears in the Context:
header. This signifies that the Option directive can
appear in .htaccess files.
|