Hallo!
Ich versuche unter Ubuntu 9.04 verzweifelt den Zugriff auf Webverzeichnise mit mod-auth-mysql zu regeln.
Wie es aussieht versuch Apache aber immer eine httpasswd-Datei aufzumachen, die in der Konfiguration natürlich nicht angegeben ist:
cat /var/log/apache2/error.log
[Mon Sep 07 19:39:38 2009] [error] Internal error: pcfg_openfile() called with NULL filename [Mon Sep 07 19:39:38 2009] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null)
Die Konfiguration sieht so aus:
Alias /svnroot "/var/mydir/" <Directory "/var/mydir/"> AuthName "Members Only" AuthType Basic Auth_MySQL on Auth_MySQL_Authoritative on Auth_MySQL_Host localhost Auth_MySQL_DB svn Auth_MySQL_User svn Auth_MySQL_Password svn Auth_MySQL_Password_Table svn_dav_users Auth_MySQL_Username_Field username Auth_MySQL_Password_Field passphrase Auth_MySQL_Group_Table svn_dav_groups Auth_MySQL_Group_Field groupname Auth_MySQL_Empty_Passwords off Auth_MySQL_Encrypted_Passwords off Auth_MySQL_Encryption_Types Plaintext Require valid-user Order allow,deny Allow from all </Directory>