Hello, all. I am trying to password protect a single page on my website. I followed the directions on http://www.hwg.org/lists/hwg-servers/passwords.html and http://www.htmlgoodies.com/tutorials/getting_started/article.php/3479531. My .htaccess file looks like this:
AuthUserFile /var/apache2/passwd/.htpasswd
AuthGroupFile /dev/null
AuthName Bio 446/546
AuthType Basic
require user molbio
and my .htpasswd file looks fine to me.
The www.htmlgoodies.com tutorial says I must change the file attributes of both files to designate them as commands. Is this so? I made them executable for root (my server operates on root). I've restarted Apache2, and still the page displays without prompting for a password. What ought I do? Thanks.
JJ