htaccess password protection error
Posted
by nute
on Server Fault
See other posts from Server Fault
or by nute
Published on 2010-04-16T01:48:28Z
Indexed on
2010/04/16
1:53 UTC
Read the original article
Hit count: 526
.htaccess
I have an HTACCESS as follows:
AuthUserFile /home/nasht00/.htmydomain
AuthName "EnterPassword"
AuthType Basic
Require valid-user
When I try it, the password pop-up appears. Whatever I enter in it, I get a 500 Internal Server Error.
My password file is under /home/nasht00/.htmydomain . Its owner is nasht00:www-data (nasht00 is my user, www-data is the group that apache2 belongs to). File permissions on that file is 775.
What am I missing?
If I try without the htaccess it works fine of course.
I have Ubuntu 9.10 with apache2.
© Server Fault or respective owner