Heres where we find out whats different about your server.
This creates an object whose database is a DBM file named .htgroup, in a format that the Apache server understands.
This creates an object whose database is a plain text file named .htgroup, in a format that the NCSA server understands.
Full list of constructor attributes:
Note: Attribute names are case-insensitive
Note: run perl t/support.t matrix to see what support is currently availible
Specific to DBM files:
<B>FlagsB> - The read, write and create flags. There are four modes: <B>rwcB> - the default, open for reading, writing and creating. <B>rwB> - open for reading and writing. <B>rB> - open for reading only. <B>wB> - open for writing only.
From here on out, things should look the same for everyone.
Add user $username to group $groupname, or whatever the Name attribute is set to.
Fails if $username exists in the database
Delete user $username from group $groupname, or whatever the Name attribute is set to.
|exists($groupname, [$username])||True if $groupname is found in the database|
Returns a list of group names, or users in a group if $name is present.
@groups = $group->list;
@users = $group->list(web-heads);
Short cut for creating an HTTPD::UserAdmin object.
All applicable attributes are inherited, but can be
Convert a database.
|remove($groupname)||Remove group $groupname from the database|
Change the value of Name attribute.
|debug($boolean)||Turn debugging on or off|
|lock([$timeout]) =item unlock()||
These methods give you control of the locking mechanism.
Select a different database.
|flags([$flags])||Get or set read, write, create flags.|
|commit||Commit changes to disk (for Text files).|
Doug MacEachern <email@example.com>
Copyright (c) 1996, 1997 Doug MacEachern
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|perl v5.20.3||HTTPD::GROUPADMIN (3)||2003-01-16|