Hi,
have a problem with .htaccess. I have installed an Apache Server on Windows 2000. Now I tried to protect a directory. But when I tried to get access with a right user and password, the server denied access. In the error log of the apache server was following error message:
[Mon Jul 16 17:28:07 2001] [error] [client 127.0.0.1] (2)No such file or directory: Could not open password file: c:/apache/liechtenstein/intranet/.htpasswd
And this is my .htaccess - file:
AuthType Basic
AuthName "Intranet RISCH AG"
AuthUserFile liechtenstein/intranet/.htpasswd
require valid-user
First I thought that I have to change the Directory in the httpd.conf - File of the Apache Server. But this didn“t work!
Please help me!
Walter