1 vhostgen creates vhost directives for apache. The following MYSQL table must
2 exist (and be populated):
4 CREATE TABLE `vhosts` (
5 `id` int(11) NOT NULL auto_increment,
6 `servername` varchar(255) NOT NULL,
7 `serveralias` varchar(255) default NULL,
8 `documentroot` varchar(255) NOT NULL,
9 `maintainer` varchar(255) default NULL,
13 You can, if you like, name the table something else (if you do, remember to change
14 your configuration file!)
16 When vhostgen is executed, it'll fetch the contents of above mentioned table and
17 create a vhosts.conf which can be included into your httpd configuration file.
19 To compile and install vhostgen, issue the following commands:
25 If you don't want to install the program globally you may use the --prefix
28 ./configure --prefix=/home/user/tools/
30 Comments, questions, patches, etc can be sent to Svante Kvarnström <sjk@ankeborg.nu>