hi all,
i recently tried to set up an apache server at home, now i wanted to use password protection for some files so i created a .htaccess file and a password file using the htpasswd function in the bin folder.
now when i try to acces the path i put the .htacces file in and fill in my account name and password it returns a 500 Internal Server Error.
When i acces the error log of apache it reads the following:
(OS 2)The system cannot find the file specified. : Could not open password file: D:/apache/passwords/password.txt
i don't know what to do, please help me.
p.s. my .htacces file looks like this:
AuthType Basic
AuthName "This is a private area, please log in"
AuthUserFile "d:\apache\passwords\password.txt"
AuthGroupFile /dev/null
<Limit GET POST PUT>
require valid-user
</Limit>
Thanks!