httpd-dev mailing list archives

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

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

>From Mon May 22 12:09:17 1995
Resent-Message-Id: <>
Old-Received: from by with SMTP (PP) id 
              <>; Mon, 22 May 1995 12:05:56 +0100
Old-Received: from trepc230 ( []) by 
     (8.6.9/8.6.9) with SMTP id OAA21607 for 
              <>; Mon, 22 May 1995 14:05:22 +0300
Date: Mon, 22 May 95 10:51:55 -0700
From: Teijo Heimola <>
X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
Mime-Version: 1.0
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
Content-Length: 1476


(sorry to direct this to you but I could not send to 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

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] authorization: user testman: 
password mismatch

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

Any help greatly appreciated !


Teijo Heimola
Nokia Mobile Phones/Cellular Data, Finland

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

View raw message