This is a fascinating thread -- sheds a lot of insight into a problem I'm working with. I've got a similar objective, but I'm wondering about scale. Anybody worked with virtualhost on the order of thousands of hosts?
Is there a way to simply say, any domain is located in the folder with the same name?
For instance, if my root is /users/tom/webroot
And then I hit the server looking for "siteA.com", it would automatically serve the index page from
/users/tom/webroot/siteA/
It seems, for thousands of sites, it would work better to set a generic rule, than to have thousands of virtualhost entries.
What do you (wiser, more experienced) folks think?