
Quick Install:

DSO :
/usr/local/apache/bin/apxs -i -a -c dynvhost/mod_dynvhost.c 

Done :)


Old Method ( I don't want to know if you use this ! )
$APACHE_SOURCE_PATH  is the path to your apache source code, usually something
like "/usr/src/apache_1.3.22".

$PATH_TO_MODULE  is the path to the mod_dynvhost.c file, could be anything
my default is "/usr/src/apache_1.3.22/src/modules/dynvhost/mod_dynvhost.c"

Then type this :

cd $APACHE_SOURCE_PATH
./configure --add-module=$PATH_TO_MODULE
make && make install


Now a line must be added to your Apache config file :

$PATH_TO_VIRTUAL_ROOT  is the root directory that houses your
sites, mine is one above the main server "DocumentRoot", 
"/usr/local/apache/htdocs/Virtuals/" and all my sites live 
under that path (e.g www.mydomain.com.au lives here :
"/usr/local/apache/htdocs/Virtuals/www.mydomain.com.au"

DynamicVirtualHost $PATH_TO_VIRTUAL_ROOT $RELATIVE_PATH_TO_HOME_DIRS

$RELATIVE_PATH_TO_HOME_DIRS  is the path to a directory under the Virtual Root
that will hold your user directories ( if you have or want them ).


