Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

.htaccess not getting 'er done

807557Apr 24 2006 — edited May 7 2006
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
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 4 2006
Added on Apr 24 2006
20 comments
373 views