[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[suse-security] Apache User Authentication



I am trying to setup user authentication on my SUSE 9.0 box and I keep running into 500 errors, or the username and password will not work in the pop up window. The errors I get in the logs are:

[Thu Sep 09 12:00:24 2004] [error] [client 192.168.1.103] (2)No such file or directory: Could not open password file: /etc/apache/.htaccess [Thu Sep 09 12:00:24 2004] [error] [client 192.168.1.103] user admin not found: /

I've set this up in the http.conf:

<Directory "/srv/www/htdoc/">
AuthType Basic
AuthName "Test Auth"
AuthUserFile /etc/apache/.htaccess
require valid-user
</Directory>

I used this to create the file:
htpasswd -cmps /etc/apache/.htaccess admin

I tried changing the AuthType to digest and creating the .htaccess file with plaintext or crypt options. I've done this on FreeBSD before, but wasn't sure if there was some other place or procedure for using this in SUSE.

Thanks,

Eric

--
Check the headers for your unsubscription address
For additional commands, e-mail: suse-security-help@xxxxxxxx
Security-related bug reports go to security@xxxxxxx, not here