Mass hosting with ldap backend?

Hello there,

I’m the author of mod_vhs (apache stuff…) and I really like to make
some module like this for nginx.

The idea of module is to auto configure the webserver uppon the
request to allow some nice stuff (eg, central provisionning, ldap
server in somewhere it cannot access to webserver)…

apacheDocumentRoot: /hosting/http/o/a/v/

As show, the mod_vhs will change directory to /hosting/http/o/a/v/ and uid/gid to 200:200 (but this is optional).

Since I like “automagic” configuration and I wish to send the old
apache into the dust. Is there any nice way to do that ?