Batch-Apache simplifies the task of adding a number of virtual domains to a web server. Once some initial information is given to Batch-Apache, the admin may add any number of domains in one step. This module can chain together with the Batch-DNS module, so that Master and Slave DNS can be set up for all domains in one step each. Installation: ------------- Standard webmin Install places this module "Batch Apache Host Addition" into the "Others" tab. Module Configurations: ---------------------- - Directory to put domain home directories (eg., /home/apache) - User who owns domain files (eg., www-user) - Specify an email address for webmaster? No or Yes. If "No", webmaster@domain is used. - Email address of webmaster (eg., myaddress@myotherdomain.com) - Specify an automatically generated home-page? No or Yes. If "Yes", the file "domain/htdocs/index.html" becomes a soft link to a default file. - Filename that is linked to become default home-page (Optional) (Eg., your "coming soon" webpage). - IP Address on this server (Optional, If you need to specify a non-default address) - Chaining URL to add primary DNS (optional) Chains the output of this module to the Batch-DNS module to create master records. This is done via a URL so that you can have your Apache daemon run on one server and your Bind 8 daemon run on another server. To construct the URL for accessing another server in a single step (without having to fill in your username and password each time) you can use the following URL template: http://username:password@domain.com:port/batch-dns/run.cgi (where, of course, username, password, domain.com, and port are customized for your setup). Usage: ------ Log into webmin, choose the "Others" tab, and choose "Batch Apache Host Addition". Fill in the text field with as many domains as you like, one on a line. all must end in dot-something (.com, .org, etc). Choose "Save". The script will: create a directory for each domain under your specified home directory, create htdocs and cgi-bin directories, and if you like, create a link to a standard index.html for the home directory. It will update conf/httpd.conf with the new dom ains, and create an alias for accessing each domain for testing purposes. You will see a count and list of the apache domains succesfully added; if there were any problems, they will be listed separately. Choose "Restart Apache" to bring up the changes in Apache. It will tell you apache has been restarted. Choose "Continue." If you filled in a Chaining URL, you will see the option to "Add Master DNS". Choose this link to submit the list of successful domain additions to the Batch-DNS module. This module may be installed on the same physical server, or on a dedicated DNS server. ------------------------------------------------------------------ Webmin Batch-Apache and Batch-DNS Modules Copyright (C) 2000 Daniel R. Allen and Prescient Code Solutions Questions/comments/suggestions are welcome- please email daniel@coder.com This module is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License.