Added support for suPHP_UserGroup directive
[vhostgen.git] / README
blobe427c64bb7dcdd59d8af874c441a88108d4ba6ec
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,
10   PRIMARY KEY  (`id`)
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:
21 ./configure
22 make
23 make install
25 If you don't want to install the program globally you may use the --prefix 
26 configure switch, eg:
28 ./configure --prefix=/home/user/tools/
30 Comments, questions, patches, etc can be sent to Svante Kvarnström <sjk@ankeborg.nu>