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

Re: Mod Mysql Auth mag nicht ...



On Sat, Nov 23, 2002 at 03:27:58PM +0100, Markus Kolb wrote:
> On Sat, Nov 23, 2002 at 03:03:32PM +0100, Michael Hilscher wrote:
> > LoadModule mysql_auth_module /usr/lib/apache/1.3/mod_auth_mysql.so
> Es heisst auth_mysql_module ...
Danke, das hat geholfen. Leider stosse ich bereits ans nächste Problem,
das ich mit Infos aus dem Web nicht lösen konnte ...

Wird ein geschütztes Verzeichnis aufgerufen, kommt es zu einem "Internal
Error" und im Error Log findet sich eine Meldung wie:
[Sat Nov 23 20:46:06 2002] [error] (107) Transport endpoint is not
connected: MySQL auth:  connect failed:  Unknown MySQL Server Host
'localhost,' (2)

In httpd.conf habe ich eingetragen:
Auth_MySQL_Info localhost, user, test

Und im .htaccess file steht:
AuthName test
AuthType Basic
Auth_MySQL_DB worksys
Auth_MySQL_Empty_Passwords off
require user test

Ein einloggen und select * from mysql_auth ist für den User: user mit
Passwort: test in der Datenbank worksys möglich.


greetinXs,              Telefon: 07275/618351
Michael Hilscher	Telefax: 07275/618352

-- 
Would Mozart have been more productive if he had scribes to help him, a
secretary and a CEO to lead his way? -- Linus Torvalds



Reply to: