On Sep 21, 2006, at 12:37 PM, John Draper wrote:

usr/local/apache/passwd

I checked - I don't have a "usr" directory in my "www" directory... Am I supposed
to create one?

Yes, if you use a chroot'ed directory scheme, you just re-create everything from the "real" directory layout that you happen to need for your application. E.g., I run Ruby sometimes, so I had to create /usr/local/bin, /usr/local/lib, etc. under /var/www


# htpasswd -c /var/www/users/ edp


Try 'man htpasswd'

htpasswd [-c] [-d | -l | -m | -p] passwordfile username
htpasswd -b [-c] [-d | -l | -m | -p] passwordfile username password
htpasswd -n [-d | -l | -m | -p] username
htpasswd -bn [-d | -l | -m | -p] username password

e.g, htpasswd /var/www/users/foopasswordfile edp

--
Jack J. Woehr
Director of Development
Absolute Performance, Inc.
[EMAIL PROTECTED]
303-443-7000 ext. 527

Reply via email to