The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

WE::Util::Htgroup - create apache AuthGroupFile files from a user database

SYNOPSIS

    use WE::Util::Htgroup;
    WE::Util::Htgroup::create("/var/www/.group", $complex_user_db);

DESCRIPTION

Create apache AuthGroupFile files from a WE_Framework user database.

FUNCTIONS

create($dest_file, $user_db, %args);

Create the $dest_file from the (complex) user database object $user_db.

invalid_chars

Return a string of invalid characters for group names. This is handy for using in ComplexUser:

    new WE::DB::ComplexUser(..., ...,
                            -crypt => "none",
                            -invalidchars => WE::Util::Htpasswd::invalid_chars(),
                            -invalidgroupchars => WE::Util::Htgroup::invalid_chars())

AUTHOR

Slaven Rezic - slaven@rezic.de

SEE ALSO

htpasswd(1), WE::DB::ComplexUser, WE::Util::Htaccess, WE::Util::Htpasswd.