Apache HTTP Server Tutorial: .htaccess files
What they are/How to use them
.htaccess files provide a way to make configuration changes on a per-directory basis.
.htaccess files (or "distributed configuration files") provide a way to make configuration changes on a per-directory basis. A file, containing one or more configuration directives, is placed in a particular document directory, and the directives apply to that directory, and all subdirectories thereof.
If you want to call your .htaccess file something else, you can change the name of the file using the AccessFileName directive. For example, if you would rather call the file .config then you can put the following in your server configuration file:
Apache HTTP Server Tutorial
Posted on Wednesday, January 06, 2016 @ 12:35:12 PST in Documentation