descriptionapache vhosts.conf generator
ownersjk@ankeborg.nu
last changeWed, 5 Dec 2007 01:15:35 +0000 (5 02:15 +0100)
content tags
add:
README
vhostgen creates vhost directives for apache. The following MYSQL table must 
exist (and be populated):

CREATE TABLE `vhosts` (
  `id` int(11) NOT NULL auto_increment,
  `servername` varchar(255) NOT NULL,
  `serveralias` varchar(255) default NULL,
  `documentroot` varchar(255) NOT NULL,
  `maintainer` varchar(255) default NULL,
  PRIMARY KEY  (`id`)
);

You can, if you like, name the table something else (if you do, remember to change 
your configuration file!) 

When vhostgen is executed, it'll fetch the contents of above mentioned table and
create a vhosts.conf which can be included into your httpd configuration file.

To compile and install vhostgen, issue the following commands:

./configure
make
make install

If you don't want to install the program globally you may use the --prefix 
configure switch, eg:

./configure --prefix=/home/user/tools/

Comments, questions, patches, etc can be sent to Svante Kvarnström <sjk@ankeborg.nu>
shortlog
2007-12-05 Svante J. KvarnstromAdded support for suPHP_UserGroup directivemaster
2007-11-06 Svante J. KvarnstromAdd install-sh and make make use it
2007-11-06 Svante J. KvarnstromLogging take two, by Michiel van Baak
2007-11-06 Svante J. KvarnstromAdded vhost log support. Patch my Michiel van Baak
2007-11-06 Svante J. KvarnstromMake it actually work this time
2007-11-02 Svante J. KvarnstromMake vhostgen honor the sysconfdir setting.
2007-11-02 Svante J. Kvarnstrom...
2007-11-02 Svante J. KvarnstromDoh, I was not editing Makefile.in. Why is Makefile...
2007-11-02 Svante J. KvarnstromOkay, third try (makefile)
2007-11-02 Svante J. KvarnstromOk... now really make the install Makefile target work...
2007-11-02 Svante J. KvarnstromMake install Makefile target actually work
2007-10-23 Svante J. KvarnstromAdded newlines to error fprintf's
2007-10-23 Svante J. KvarnstromMerge branch 'master' of git://mikachu.ath.cx/vhostgen
2007-10-23 Mikael MagnussonDon't include the trailing \n in the values.
2007-10-23 Svante J. KvarnstromStart counting from 0.
2007-10-23 Mikael MagnussonFix some bugs. ;)
...
heads
16 years ago master
16 years ago stable