NAME

prov_web - a command line interface for provisioning web accounts

SYNOPSIS

prov_web --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
--disable  - disable an account
--enable   - enable 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 --create --vhost=www.example.com
prov_web --destroy --vhost=www.example.com
prov_web --modify  --vhost=www.example.com --options='Indexes ExecCGI'

DESCRIPTION

prov_web is a command line interface to the Provision::Web provisioning modules.

CONFIGURATION AND ENVIRONMENT

DEPENDENCIES

Config::Tiny
Getopt::Long
Params::Validate
Digest::MD5 
LWP::UserAgent

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.