Archive of UserLand's first discussion group, started October 5, 1998.
Re: Script for creating .htpasswd file?
Author: Steve Hooker Posted: 6/15/1999; 10:00:54 AM Topic: Script for creating .htpasswd file? Msg #: 7395 (In response to 7387) Prev/Next: 7394 / 7396
I used a perl script from http://www.cgiscriptcenter.com/ called Account Manager LITE. It has a good user manual to help you set it up. It's a set of scripts that allow you to add users and password directories. Basically, you have to fill in the generated forms. However, I then used the tcpcmd suite to automate the filling in of forms and rendered a .htaccess to the correct directory with the correct users. The Account Manager LITE took care of encoding the password and storing it in the .htpasswd file.
Some general help on .htaccess:
If you're doing it on a mac, those .htaccess files can help to mangle your directory structure - I don't think files beginning with a fullpoint are happy on a mac.
If I can help anymore...
There are responses to this message:
- .htaccess files and Mac directory structure?, Thomas A. Creedon, 6/15/1999; 11:02:07 AM
- Re: Script for creating .htpasswd file?, firstname.lastname@example.org, 6/16/1999; 1:01:52 PM
This page was archived on 6/13/2001; 4:50:48 PM.
© Copyright 1998-2001 UserLand Software, Inc.