19. september 2006 - 14:24Der er
6 kommentarer og 1 løsning
Mod_auth_mysql problem (Er meget vigtigt)
Hej eksperter.
Jeg har lige installeret apache 2.2.2 og har mod_auth_mysql som skal bruges til en side jeg har, den kommer også frem og spørger om koden, men når den så er indtastet melder den fejl.
min htaccess ser sådan ud
AuthName "MySQL Secured Place" AuthType Basic AuthMySQLCryptedPasswords Off AuthMySQLHost localhost AuthMySQLDB webauth AuthMySQLUserTable user_pwd AuthMySQLUser testuser AuthMySQLPassword authmysql AuthMySQLNameField name AuthMySQLPasswordField pass AuthMySQLAuthoritative On require valid-user
Og fejlen jeg får efter indtastning af koden er : Server error! The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there was an error in a CGI script.
If you think this is a server error, please contact the webmaster.
Denne side indeholder artikler med forskellige perspektiver på Identity & Access Management i private og offentlige organisationer. Artiklerne behandler aktuelle IAM-emner og leveres af producenter, rådgivere og implementeringspartnere.
[Tue Sep 19 12:53:25 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: AuthName takes one argument, The authentication realm (e.g. "Members Only") [Tue Sep 19 12:53:45 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: AuthName takes one argument, The authentication realm (e.g. "Members Only") [Tue Sep 19 12:55:12 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 12:55:12 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) [Tue Sep 19 13:09:24 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'Auth_MySQL_Username', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:09:31 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'Auth_MySQL_Username', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:09:34 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'Auth_MySQL_Username', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:10:07 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'Auth_MySQL_Username', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:10:47 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'Auth_MySQL_Host', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:10:53 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'Auth_MySQL_Host', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:11:42 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'AuthMySQLUsername', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:12:22 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'AuthMySQLUsername', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:12:36 2006] [alert] [client 127.0.0.1] C:/xampp/xampp/htdocs/medlem.barnlille.dk/.htaccess: Invalid command 'AuthMySQLUsername', perhaps misspelled or defined by a module not included in the server configuration [Tue Sep 19 13:13:07 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 13:13:07 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) [Tue Sep 19 13:15:07 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 13:15:07 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) [Tue Sep 19 13:15:21 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 13:15:21 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) [Tue Sep 19 13:15:38 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 13:15:38 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) [Tue Sep 19 13:37:32 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 13:37:32 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) [Tue Sep 19 14:17:37 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 14:17:37 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) [Tue Sep 19 14:21:28 2006] [error] Internal error: pcfg_openfile() called with NULL filename [Tue Sep 19 14:21:28 2006] [error] [client 127.0.0.1] (9)Bad file descriptor: Could not open password file: (null) Warning: Truncating oversized username
Hmm jeg går ud fra at de første fejl ikke længere er aktuelle, men at det kun er "Bad file descriptor"-fejlene... Jeg må desværre melde pas... Din "Bad file descriptor" kan du vist slippe af med ved at bruge AuthUserFile /dev/null - Jeg er dog ikke sikker på at det er hele dit problem...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.