How to set up .htaccess file on Ubuntu 14.04 LAMP
I’ve read all the posts on here as well as StackOverflow and even watched a few YouTube videos on how to set up an .htaccess file (I’m trying to password protect my directories) and none of them are working for me. Everything I do creates a 500 Internal Service Error message.
Do I need to change the 000-default.conf file or the apache2.conf file and what do I need to change? Is there anything else I need to do after that (besides setting up the .htaccess file and .htpasswd file)?
Can someone please provide a fresh step-by-step guide on how to set this up?
P.S. Sorry for the whining, I’ve been at this for 3 days and feel like I’m taking crazy pills!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.