On Fri, Jan 17, 2003 at 06:34:34PM +0000, Shevek wrote: > On Fri, 17 Jan 2003, Paul Makepeace wrote: > > > Before I write one... Has anyone heard of a simple contained script or > > tool to create & edit .htaccess and .htpasswd files? I got bored of > > doing it by hand after my first two. Web-based would be nice but a > > parser/generator would be a great start. > > The htpasswd utility distributed with Apache?
Lincoln D. Stein wrote a module to manipulate ".htpasswd" files. It seems to have dissappeared from the face of the earth - google produces no results. I hope that Lincoln won't mind me putting it here in case anybody wants to look at it: ftp://test.co.uk/steve/Apache/PSWD.pm Note that it's rather old and won't run under "use strict", but it works. Perhaps it can be modernised and returned to CPAN somehow?