AuthUserFile has to point to the passwd file. Not the directory it is in.
So it should be:
AuthType Basic
AuthUserFile h:\passwd.txt
AuthName "test"
Require valid-user
Cris wrote:
hi,
i have installed apache and php4 on my computer. it works well. now i will secure my phpmyadmin path with .htaccess . i have made the pwd file and saved it on h:/
what do i have to write in the .htaccess file?
???????????
That's what i have:
AuthType Basic
AuthUserFile h:\
AuthName "test"
Require valid-user
???????????
is this right? but it doesn't work!
please help, thx