NAME
prov_web.pl - a command line interface for provisioning web accounts
SYNOPSIS
prov_web.pl --action [--vhost example.com]
Action is one of the following:
--create - creates a new system user
--modify - make changes to an existing user
--destroy - remove a user from the system
--suspend - disable an account
--restore - restore an account
required arguments:
-vhost $vhost
optional arguments:
-ip - IP address to listen on (default *)
-serveralias - list of aliases, comma separated
-serveradmin - email address of server admin
-documentroot - full path to html directory
-redirect - url to redirect site to
-options - server options ex. FollowSymLinks MultiViews Indexes ExecCGI Includes
-ssl - ssl enabled ?
-sslcert - path to ssl certificate
-sslkey - path to ssl key
-cgi - basic | advanced | custom
-customlog - custom logging directive
-customerror - custom error logging directive
-awstats - include alias for awstats
-phpmyadmin - include alias for phpMyAdmin
USAGE
prov_web.pl --create --vhost=www.example.com
prov_web.pl --destroy --vhost=www.example.com
prov_web.pl --modify --vhost=www.example.com --options='Indexes ExecCGI'
DESCRIPTION
prov_web.pl is a command line interface to the Provision::Web provisioning modules.
CONFIGURATION AND ENVIRONMENT
DEPENDENCIES
A list of all the other modules that this module relies upon, including any restrictions on versions, and an indication whether these required modules are part of the standard Perl distribution, part of the module's distribution, or must be installed separately.
AUTHOR
Matt Simerson, <matt at tnpi.net>
LICENCE AND COPYRIGHT
Copyright (c) 2008 The Network People, Inc. (info@tnpi.net)
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.