httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Wilson <and...@www.elsevier.co.uk>
Subject Apache user authentication probs
Date Mon, 22 May 1995 12:12:25 GMT

----- Begin Included Message -----

>From Andrew.Wilson@cm.cf.ac.uk Mon May 22 12:09:17 1995
Resent-Message-Id: <9505221109.AA16843@www.elsevier.co.uk>
Old-Received: from noknic.nokia.com by thrall.cm.cf.ac.uk with SMTP (PP) id 
              <09389-0@thrall.cm.cf.ac.uk>; Mon, 22 May 1995 12:05:56 +0100
Old-Received: from trepc230 (trepc230.nmp.nokia.com [131.228.21.164]) by 
              noknic.nokia.com (8.6.9/8.6.9) with SMTP id OAA21607 for 
              <Andrew.Wilson@cm.cf.ac.uk>; Mon, 22 May 1995 14:05:22 +0300
Date: Mon, 22 May 95 10:51:55 -0700
From: Teijo Heimola <teijo.heimola@nmp.nokia.com>
X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
Mime-Version: 1.0
To: Andrew.Wilson@cm.cf.ac.uk
Subject: Apache user authentication probs
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=us-ascii
Resent-Date: Mon, 22 May 1995 12:09:58 +0100
Resent-From: Andrew.Wilson@cm.cf.ac.uk
Resent-To: andrew@www.elsevier.co.uk
Content-Length: 1476

Hi,

(sorry to direct this to you but I could not send to 
apache-bugs@mail.apache.org. Maybe you can help me or forward this to 
the right recipients, thanks)

I sure like to use apache as my WWW server. However,
I'd like to know how to set up automatic form based user authentication 
like Hotwired has done. I wonder if these scripts (Perl ?)are available 
somewhere ?

Apache seems to have support for DBM to save passwords. I tested the
dbmmanage program in /support directory. When I issued (on HP console):

trehw15(53): ./dbmmanage ../conf/passwords adduser testman testpw
User testman added with password testpw, encrypted to XXjeNjyKuQr/A

Ok, I now have one entry in passwords file. I have setup one directory to 
be protected (in access.conf):

<Directory /usr/local/adm/httpd/htdocs/secret2>
Options Indexes FollowSymlinks
AllowOverride None
AuthDBMUserFile /usr/local/adm/apache_0.6.4/conf/passwords
AuthName Gimme your account!
AuthType Basic
<Limit GET>
 require user testman
</Limit>
</Directory>

When I try access /secret2 I am prompted for a username and a password.
I give these right (testman and testpw) but got errors. What is wrong ?

In error_log I have:
[Mon May 22 12:30:45 1995] pc1.nmp.nokia.com authorization: user testman: 
password mismatch

I have compiled with -DDBM_AUTH (CFLAGS) and with -lndbm (EXTRA_LIBS)

Any help greatly appreciated !

Regards,

Teijo Heimola
Nokia Mobile Phones/Cellular Data, Finland
teijo.heimola@nmp.nokia.com





----- End Included Message -----


Mime
View raw message