> Ok, In an an effort to password protect a directory on my account
> for web pages I have created a .htaccess file exactly as shown:
> AuthUserFile: /home/daniel/.htpasswd
> AuthGroupFile /dev/null
If you don't have a group file, just leave this directive out
> AuthName: ByPassword
You shouldn't have the colons ":" after the directives.
> AuthType Basic
> <Limit GET>
> require valid-user
> and I have created a .htpasswd file in my home dir...
> But I get a "Server error" (at least it's protected!) when I tried it out
the .htpasswd will need to be world readable so that the server can check
who authorised. You might also want to make your .htaccess inaccessable.
Apart from that, what do the server logs (/var/log/web) say?
-- You are subscribed to the progsoc mailing list. To unsubscribe, send a message containing "unsubscribe" to firstname.lastname@example.org. If you are having trouble, ask email@example.com for help.