Add note about the purpose of .htaccess files

Thanks for this resource. I've proposed a clarification about the purpose of .htaccess files. We would love to have your help over on the official docs, if you are inclined to contribute in that way. https://httpd.apache.org/docs-project/
This commit is contained in:
Rich Bowen 2016-09-28 08:57:51 -04:00 committed by GitHub
parent 0caec9ddce
commit de6df3bf8f
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
# .htaccess Snippets [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)
A collection of useful .htaccess snippets, all in one place.
**NOTE**: `.htaccess` files are for people that do not have rights to edit the main server configuration file. They are intrinsically slower and more complicated than using the main config. Please see the [howto in the httpd documentation](https://httpd.apache.org/docs/current/howto/htaccess.html) for further details.
**Disclaimer**: While dropping the snippet into an `.htaccess` file is most of the time sufficient, there are cases when certain modifications might be required. Use at your own risk.
**IMPORTANT**: Apache 2.4 introduces a few breaking changes, most notably in access control configuration. For more information, check the [upgrading document](https://httpd.apache.org/docs/2.4/upgrading.html) as well as [this issue](https://github.com/phanan/htaccess/issues/2).