Password protect a directory
I have LAMP on SUSE 9.3 and thought it would be a good idea to password protect the /srv/www/htpdocs/phpMyAdmin directory for a little more security.
The problem is that I can't get the command 'htpasswd -c mypass user-name' to work. I looked into mod_auth and it's listed as loaded in phpinfo.
I'm new to all things Linux and have myself a little lost now. I found a nice little tutorial on "Password Protection of WWW pages" and tried to follow it to the letter but it's as if htpasswd is not functioning.
Is there another way or am I missing something in my config?
|