httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Andersson" <>
Subject Re: [users@httpd] authentication
Date Tue, 08 Jun 2004 14:52:39 GMT
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'.

Robert Andersson.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message