Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.198.369 Times

HTTPD::GroupAdmin 1.66

  Date Added: February 03, 2010  |  Visits: 990

HTTPD::GroupAdmin

Report Broken Link
Printer Friendly Version


Product Homepage
Download (87 downloads)



HTTPD::GroupAdmin is a Perl module for the management of HTTP server group databases. SYNOPSIS use HTTPD::GroupAdmin (); This software is meant to provide a generic interface that hides the inconsistencies across HTTP server implementations of user and group databases. METHODS new () Heres where we find out whats different about your server. Some examples: @DBM = (DBType => DBM, DB => .htgroup, Server => apache); $group = new HTTPD::GroupAdmin @DBM; This creates an object whose database is a DBM file named .htgroup, in a format that the Apache server understands. @Text = (DBType => Text, DB => .htgroup, Server => ncsa); $group = new HTTPD::GroupAdmin @Text; 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 Name - Group name DBType - The type of database, one of DBM, Text, or SQL (Default is DBM) DB - The database name (Default is .htpasswd for DBM & Text databases) Server - HTTP server name (Default is the generic class, that works with NCSA, Apache and possibly others) Note: run perl t/support.t matrix to see what support is currently availible Path - Relative DB files are resolved to this value (Default is .) Locking - Boolean, Lock Text and DBM files (Default is true) Debug - Boolean, Turn on debug mode Specific to DBM files: DBMF - The DBM file implementation to use (Default is NDBM) Flags - The read, write and create flags. There are four modes: rwc - the default, open for reading, writing and creating. rw - open for reading and writing. r - open for reading only. w - open for writing only. Mode - The file creation mode, defaults to 0644 Specific to DBI: We talk to an SQL server via Tim Bunces DBI interface. For more info see: http://www.hermetica.com/technologia/DBI/ Host - Server hostname Port - Server port User - Database login name Auth - Database login password Driver - Driver for DBI (Default is mSQL) GroupTable - Table with field names below NameField - Field for the name (Default is user) GroupField - Field for the group (Default is group) From here on out, things should look the same for everyone. add($username[,$groupname]) Add user $username to group $groupname, or whatever the Name attribute is set to. Fails if $username exists in the database if($group->add(dougm, www-group)) { print "Welcome!n"; } delete($username[,$groupname]) Delete user $username from group $groupname, or whatever the Name attribute is set to. if($group->delete(dougm)) { print "Hes gone from the groupn"; } exists($groupname, [$username]) True if $groupname is found in the database if($group->exists(web-heads)) { die "oh no!"; } if($group->exists($groupname, $username) { #$username is a member of $groupname } list([$groupname]) Returns a list of group names, or users in a group if $name is present. @groups = $group->list; @users = $group->list(web-heads); user() Short cut for creating an HTTPD::UserAdmin object. All applicable attributes are inherited, but can be overridden. $user = $group->user(); (See HTTPD::UserAdmin) convert(@Attributes) Convert a database. #not yet remove($groupname) Remove group $groupname from the database name($groupname) Change the value of Name attribute. $group->name(bew-ediw-dlrow); debug($boolean) Turn debugging on or off lock([$timeout]) =item unlock() These methods give you control of the locking mechanism. $group = new HTTPD::GroupAdmin (Locking => 0); #turn off auto-locking $group->lock; #lock the objects database $group->add($username,$passwd); #write while database is locked $group->unlock; release the lock db($dbname); Select a different database. $olddb = $group->db($newdb); print "Now were reading and writing $newdb, done with $olddbn"; flags([$flags]) Get or set read, write, create flags. commit Commit changes to disk (for Text files)..

Requirements: No special requirements
Platforms: Linux
Keyword: Database Dbi Dbm Default Group Groupadmin Http Server Httpd Httpdgroupadmin Name Perl Module Server Server Group Username
Users rating: 0/10

License: Freeware Size: 112.64 KB
USER REVIEWS
More Reviews or Write Review


HTTPD::GROUPADMIN RELATED
Libraries  -  HTTP::Server::Simple::Mason 0.09
HTTP::Server::Simple::Mason is an abstract baseclass for a standalone mason server. SYNOPSIS my $server = MyApp::Server->new(); $server->run; package MyApp::Server; use base qw/HTTP::Server::Simple::Mason/; sub mason_config { return (...
13.31 KB  
Web Server Tools  -  Sami HTTP Server 2.0.1
Sami HTTP Server is small, powerful and extremely easy to use. You can modify server settings and view the current activity with just a few clicks. Other features include a virtual directory, PHP, bandwidth rate limit, statistics about connections...
207 KB  
Network & Internet  -  Dwarf HTTP Server 1.3.1
Dwarf HTTP Server is a full-featured and ready-to-use web server with the Java Servlet API 2.2 and Java Server Pages 1.1 implementation. Dwarf HTTP Server can be used either standalone or embed in a larger hosting application, free of charge for...
931.84 KB  
Libraries  -  HTTP::WebTest::XMLParser 1.00
HTTP::WebTest::XMLParser is a Perl module to parse webscript in XML representation. SYNOPSIS use HTTP::WebTest::XMLParser; my ($tests, $opts) = HTTP::WebTest::XMLParser->parse($xmldata); use HTTP::WebTest; my $wt = new HTTP::WebTest;...
11.26 KB  
Utilities  -  HTTP Server type 1.2.3
httptype is a program that returns the http host software of a website. It is written in Perl. httptype reads a list of http hosts and optionally the port number for each of these. It queries each host, displaying the type of HTTP server running...
14.34 KB  
Web Server Tools  -  Apache HTTP Server 1.3.24
The Number One HTTP Server On The Internet. The Apache Project is a collaborative software development effort aimed at creating a robust, commercial-grade, featureful, and freely-available source code implementation of an HTTP (Web) server.
 
Web Server Tools  -  Techlogica HTTP Server 1.0
Techlogica HTTP Server 1.0 is a free and easy-to-setup web server. If you are a developer and you need an easy way to locally test a website based on PHP or CGI, our HTTP server is perfect for you. Our server also has full traffic logging and...
4.24 MB  
Libraries  -  HTTP::Browscap 0.02
HTTP::Browscap is a Perl module that can parse and search browscap.ini files. SYNOPSIS use HTTP::Browscap; my $capable = browscap(); if( $capable->{wap} ) { output_WAP(); } if( $capable->{css} > 1 ) { # Browser can handle CSS2 } #...
9.22 KB  
Libraries  -  CGI::Builder::Auth::GroupAdmin 0.06
CGI::Builder::Auth::GroupAdmin is a Perl module for the management of HTTP server group databases. SYNOPSIS use CGI::Builder::Auth::GroupAdmin (); Pay no attention to that man behind the curtain! Move along, nothing to see here! This...
51.2 KB  
Libraries  -  CGI::Builder::Auth::UserAdmin 0.06
CGI::Builder::Auth::UserAdmin is a Perl module for the management of HTTP server user databases. SYNOPSIS use CGI::Builder::Auth::UserAdmin (); Pay no attention to that man behind the curtain! Move along, nothing to see here! This module...
51.2 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB