This module has born since Apache 2.x was lacking of some mass webhosting module that can be used on Association Kazar.
After a quick look on some modules that was present when first needs about such module, finaly I decided to create my own module.
Some new features for next generation of mod_vhs :
mod_vhs 1.0.xx uses libhome as database / source provider. This allow to not rewrite the wheel since apache 2.0 was lacking of some database stuff.
libhome allow us to get data from various sources. See libhome section on this site.
Idea of this mode that is unique (I think) on this module that you cannot see anywhere is that a mode that tries to find the domain of a website if it cannot find it :
$domain = "www.foo.com";
$home = fetch_data($domain);
if (!$home) {
$lamer_domain = strip_www_from($domain);
$home = fetch_data($domain);
}
if (!$home) {
return DECLINED;
}
// Continue
mod_vhs can override default php.ini configuration either as global configuration, eg on all vhost handled by mod_vhs or on the fly when a specific vhost and configuration needs to be applied.
See Php Configuration for more informations.
I have been requested to write a little note about versioning. I use same method as Linux and lots of OpenSource projects :)
Version is 1.0.xx where xx is :
Version 1.1 is the current CVS HEAD branch !
Download place is ftp://ftp.oav.net/mod_vhs/
Bugs, flames, money, junk food or postcard can be sent to Xavier Beaudouin kiwi@oav.net. You can use my paypal account (same as my mail) to send me money… Patches are welcomed !