mod_auth_mysql 2.20 + apache 1.3.12

mod_auth_mysql 2.20 + apache 1.3.12

Post by miggy2.. » Sun, 31 Dec 1899 09:00:00

Hello all, I've been trying in vain for the last two hours to get
mod_auth_mysql2.20 and apache1.3.12 with php4.0RC1 to work. Maybe
someone can see what I'm doing wrong.

My .htaccess file is as follows:
AuthName                        testauth
AuthType Basic
require valid-user

Auth_MySQL_DB                   testauth
Auth_MySQL_Password_Table       System_IDMap
Auth_MySQL_Group_Table          System_IDMap
Auth_MySQL_Username_Field       UserName
Auth_MySQL_Password_Field       Password
Auth_MySQL_Group_Field          UserGroup
Auth_MySQL_Encryption_Types     Plaintext
Auth_MySQL_Encrypted_Passwords  Off
Auth_MYSQL                      On

The table looks like:

mysql> describe System_IDMap;
| Field     | Type        | Null | Key | Default | Extra          |
| ID        | int(11)     |      | PRI | 0       | auto_increment |
| UserName  | varchar(20) | YES  |     | NULL    |                |
| Password  | varchar(20) | YES  |     | NULL    |                |
| UserGroup | varchar(20) | YES  |     | member  |                |

Just one excert from the error log is:
[Tue May 16 23:48:19 2000] [error] [client] user miggy:
authentication failure for "/css/style.css": password mismatch

And in the httpd.conf file I have the AllowOverRide ALL statement.

Now I'm absolutely sure that I typed in the password correctly... but
it never seems to work.
This is running on a Debian 2.0.38 system. Oh and yes the httpd daemon
(as www-data) can connect to the database as I've done it many times
before using PHP queries.

Any ideas?

Sent via
Before you buy.


1. Problems installing Apache 1.3.12 & ApacheJServ 1.1.12

Machine Spec: Celeron Processor 400MHZ
Operating System: Linux Mandrake 7.0 Complete

I am using the "INSTALL" docs that came with ApacheJServ 1.1.12 and
trying to
build Apache with ApacheJServ support in it from the source files.

The doc has said to

./configure \
make install

Problem is I cannot find the file libjserv.a or mod_jserv.c in the
Apache 1.3.12 directory or any of its subdirectories.

The C files are in ApacheJServ 1.1.12 including mod_jserv.c but there is
libjserv.a only the file libjserv.module. Are these files equivalent???

Can someone please tell me what to do to configure Apache to work with
Apachejserv support please.



2. Diskless Client

3. apache module with pthread library linked crashes Apache 1.3.12 on RedHat Linux 6.2

4. 'top' in 2.1.6 ports doesn't build

5. Pointers to a list of Graphics Cards for X386

6. Apache 1.3.12 - AddDescription problem (apache bug ?)

7. Debian: fsck doesn't terminiate?

8. Adding a module to Apache 1.3.12

9. Linuxconf and Apache 1.3.12

10. OpenSSL on apache 1.3.12

11. Apache 1.3.12 FPSE 2K

12. Apache 1.3.12 Released