Re: using htpasswd from perl script

2005-07-21 Thread JupiterHost.Net
Graeme McLaren wrote: Guys, thank you for your replies! using .htaccess from the command line: bash-2.03# /usr/local/apache/bin/htpasswd /path/to/auth/file/auth_file username New password: Re-type new password: Adding password for user username How would I do this using that module? From

Re: using htpasswd from perl script

2005-07-21 Thread Graeme McLaren
Guys, thank you for your replies! using .htaccess from the command line: bash-2.03# /usr/local/apache/bin/htpasswd /path/to/auth/file/auth_file username New password: Re-type new password: Adding password for user username How would I do this using that module? From what I can see there does

Re: using htpasswd from perl script

2005-07-20 Thread JupiterHost.Net
http://search.cpan.org/search?query=htaccess&mode=module Better yet, use mod_auth_mysql in your Apache and manage users, groups and passwords in a database table. This should be a bit more secure than giving your web user write access to a .htpasswd file. so you give your webuser** write acce

RE: using htpasswd from perl script

2005-07-20 Thread Thomas Bätzler
JupiterHost.Net <[EMAIL PROTECTED]> suggested: > Graeme McLaren wrote: > > How would I invoke htpasswd from a perl script? I'm thinking I'll > > need to use the system command. > > system or backticks or qx() but you'd probably be better off > with a Module: > > http://search.cpan.org/search?

Re: using htpasswd from perl script

2005-07-20 Thread JupiterHost.Net
Graeme McLaren wrote: Afternoon all, I was thinking about writing a perl script which would add users to an .htaccess file. How would I invoke htpasswd from a perl script? I'm thinking I'll need to use the system command. system or backticks or qx() but you'd probably be better off with a