ich habe :
Windows XP Pro
XAMPP 1.4.2
mod_auth_mysql aktiviert
meine .htaccess
- Code: Select all
AuthName "MySQL Secured Place"
AuthType Basic
require valid-user
AuthMySQLHost localhost
AuthMySQLDB webauth
AuthMySQLUser testuser
AuthMySQLPassword authmysql
AuthMySQLUserTable user_pwd
AuthMySQLNameField name
AuthMySQLPasswordField pass
## AuthMySQLGroupTable user_grp (here do not modify this for the simple test!)
## AuthMySQLGroupField group (here do not modify this for the simple test!)
AuthMySQLCryptedPasswords Off
Wenn ich nun in das Verzechnis wechsle wird das PW abgefragt.
Nach korrekte Eingabe kommt die index.htm.
Rufe ich nun aber eine andere html-Datei auf die mehrere Bilder hat oder eine
php-Datei mit vielen includes dann fragt mich der Server mehrfach nach dem Passwort.
Im error.log steht dann folgendes:
- Code: Select all
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL ERROR: Lost connection to MySQL server during query, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL ERROR: MySQL client run out of memory, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL ERROR: Can't connect to MySQL server on 'localhost' (10038), referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL ERROR: Lost connection to MySQL server during query, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL ERROR: Can't connect to MySQL server on 'localhost' (10038), referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example16.6.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example19.1.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example18.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example17.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:46 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example16.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:47 2004] [error] [client 127.0.0.1] MySQL ERROR: Lost connection to MySQL server during query, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:47 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example26.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:47 2004] [error] [client 127.0.0.1] MySQL ERROR: Can't connect to MySQL server on 'localhost' (10038), referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:47 2004] [error] [client 127.0.0.1] MySQL ERROR: Can't connect to MySQL server on 'localhost' (10038), referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:47 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example26.1.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:47 2004] [error] [client 127.0.0.1] MySQL ERROR: Lost connection to MySQL server during query, referer: http://localhost/jpgraph/src/Examples/testsuit.php
[Wed May 26 15:34:47 2004] [error] [client 127.0.0.1] MySQL user stk not found: /jpgraph/src/Examples/example25.php, referer: http://localhost/jpgraph/src/Examples/testsuit.php
Und so weiter....
Es scheint so als ob der Apache für jede Datei einmal die DB mit einer Abfrage belästigt und die DB aufgrund der vielen Abfrage sofort die Hufe hochreisst. Das kann doch aber nicht sein.
Ich habe übrigens das gleiche System auf einem Linux-Rechner laufen - ohne Probleme. Testweise habe ich auch mal den Windows-Apache mit der Linux-DB gekoppelt -> da Problem tritt auch auf.
Koppele ich aber den Linux-Apache mit der Windows DB dann funzt alles einwandfrei!
Kann das vielleicht irgendwie mit Windows XP oder mit dem myODBC-Treiber zusammenhängen?
Gruß
katzenpeter3