On Thu, Mar 13, 2003 at 08:27:30PM +0900, Nathan Ollerenshaw wrote: > Resending this to this list as I got no response on users list. > > Currently, we are using flat config files generated by our website > provisioning software to support our mass hosted customers. The reason > for doing it this way, and not using the mod_vhost_alias module is > because we need to be able to turn on/off CGI, PHP, Java, shtml etc on > a per vhost basis. We need the power that having a distinct > <VirtualHost> directive for each site gives you. > > Is there a better way?
I once started a project to do this from a database, I eventually stopped as I couldn't figure out a nice way to enable/disable php,cgi,whatever on demand. Serving virtualhosts from documentroots you pull out of a database is no big deal.
