vhosts api or command line

#1
Hello,

I am running a rails app with multiple deployments and am using capistrano to manage them. I would like to be able to create a vhost entry on the fly using capistrano and was wondering if there's any way to do this aside from trying to write to the monolithic httpd_conf.xml file. Is there an API for this? How are the vhosts added from the web interface?

If there is no way to do this, is there any likelihood of forthcoming releases to use separate smaller xml files for each vhost member entry?

Thanks!
 
Top