FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl? 
Author Message
 FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl?

(This excerpt from perlfaq9 - Networking
    ($Revision: 1.25 $, $Date: 1999/04/14 03:46:19 $)
part of the standard set of documentation included with every
valid Perl distribution, like the one on your system.
See also http://www.*-*-*.com/
if your negligent system adminstrator has been remiss in his duties.)

  How do I edit my .htpasswd and .htgroup files with Perl?

    The HTTPD::UserAdmin and HTTPD::GroupAdmin modules provide a
    consistent OO interface to these files, regardless of how they're
    stored. Databases may be text, dbm, Berkley DB or any database with
    a DBI compatible driver. HTTPD::UserAdmin supports files used by
    the `Basic' and `Digest' authentication schemes. Here's an example:

        use HTTPD::UserAdmin ();
        HTTPD::UserAdmin
              ->new(DB => "/foo/.htpasswd")
              ->add($username => $password);

--
"Whenever you find that you are on the side of the majority, it is time
 to reform."    --Mark Twain



Sat, 27 Oct 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl?

2. FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl?

3. FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl?

4. FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl?

5. FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl?

6. FAQ 9.12: How do I edit my .htpasswd and .htgroup files with Perl?

7. FAQ 9.13 How do I edit my .htpasswd and .htgroup files with Perl?

8. FAQ 9.13 How do I edit my .htpasswd and .htgroup files with Perl?

9. FAQ 9.13 How do I edit my .htpasswd and .htgroup files with Perl?

10. FAQ 9.13 How do I edit my .htpasswd and .htgroup files with Perl?

11. FAQ 9.13 How do I edit my .htpasswd and .htgroup files with Perl?

12. FAQ 9.13 How do I edit my .htpasswd and .htgroup files with Perl?

 

 
Powered by phpBB® Forum Software