So I am trying to password protect my main directory so I can deploy and test there before going live. I have changed the httpd.conf file for the directory to have AllowOverride AuthConfig
now I was trying to run htpasswd -c /opt/lampstack*/apache2/conf/users user
- first off I am not sure if this is the best/most secure location to store these users/pws and second I get the error The program 'htpasswd' can be found in the following packages: apache2-utils, mini httpd
I don't want to install one of those if it is really located elsewhere and I just don't know it. What is the best route for me?
Thanks!