[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] .htaccess



Hi everyone. I've got a client that has a password protected directory using
.htaccess. The problem is, this client has 250 users, and wants to have
complete control over adding/deleting/modifying users. I have attempted to
install a few such web-based utilities that claim to do just this, to no
avail. I attempted to write my own CGI script with the following code:

--------- CODE -----------
#!/usr/bin/perl

use CGI qw(param);

$username = param("username");
$password = param("password");

system("/usr/sbin/htpasswd -b
/home/sites/www.mnvac.org/web/employees2/.htpasswd $username $password");
---------- CODE ------------

to no avail. Does anyone know any way to accomplish this?

Thanks!


Daren Cotter
[ Web Development ] - [ Database Administration ]
Prairie Lakes Internet
(507) 344-1318
darenc@xxxxxxxxxxxxxxxxx
http://web.lakes.com