Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Confusion about .htaccess
07-22-2009, 12:34 AM #1
- Join Date
- Jul 2009
- Thanked 0 Times in 0 Posts
Confusion about .htaccess
There seems to be some confusion about the .htaccess file, especially in this article:
.htaccess is not the extension, file extensions are figments of the Microsoft mindset, and are meaningless to a cross-platform application like Apache.
htaccess is the file name, the whole file name, and nothing but the file name. The . at the beginning makes it a hidden file on an *nix server, such that it does not appear in a normal directory listing. This is an important distinction for people who must work on web servers using both Microsoft and *nix technologies, or edit on Windows machines for uploading to *nix servers, because of the "file extension" artifice on Microsoft systems. Many boneheaded mistakes have occurred because someone did not understand the difference between a file extension and a dot-file such as .htaccess or .bash_profile, which are as different as apples and orangutans.
Once again, it is NOT a file extension, it is the file name.