httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Barth \(John\) Jones" <musicbyba...@alltel.net>
Subject Re: [users@httpd] authentication
Date Tue, 08 Jun 2004 16:01:44 GMT
Actually that was an incomplete message that shouldn't have sent.  I'ts not
even in my sent folder?

I figured it all out from your reply.  But now I have another Q.

How do I automate new users to allow them access to .htaccess protected
pages when they enter their user info (i.e., when they sign up as a user via
a form)?
I just want to be able to use a form to take a new username & password
(confirmed with a duplicate entry), have Perl put it in my password file and
allow the user to login at that point.  Is this possible?

Much Thanks.



----- Original Message ----- 
From: "Robert Andersson" <robert@profundis.nu>
To: <users@httpd.apache.org>
Sent: Tuesday, June 08, 2004 10:52 AM
Subject: Re: [users@httpd] authentication


> Barth (John) Jones wrote:
> > Not quite sure what you mean.  Delete which directory?
>
> Are you refering to this:
>
> > > If you want 'passwords' to be the file, delete the directory with that
> > > name, and then do:
> > >
> > >     > htpasswd -c ../password/passwords enterhere
>
> I mean that, if "c:/apache2triad/password/passwords" is a *directory*, you
> need to delete it first in order to create a *file* with that same name.
>
> To avoid confusion with file paths, try to first cd into the directory
where
> you want the password file to be created, then call htpasswd (you will
need
> the full path to it) with just the file name. Eg:
>
> c:/apache2triad/bin> cd ..
> c:/apache2triad> cd password
> c:/apache2triad/password> ../bin/htpasswd -c users username
>
> That should create a password file called 'users'.
>
> Regards,
> Robert Andersson.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message