As mentioned in the title, Mac OS X doesn\'t allow me to name files starting with a dot ( . ). But, I need an .htaccess file. Or, better, how do I use an htaccess file in Mac OS
Use Terminal.
Open Terminal.
Change Directory to source folder where you want to create the file
cd Desktop
Create the file using touch
touch
touch .htaccess
Open the file in any text editor
atom .htaccess