PDA

View Full Version : vhosts api or command line


ideaoforder
07-15-2008, 03:58 PM
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!

mistwang
07-15-2008, 05:58 PM
We may use a flat text file for virtual host template member configuration in 4.0 release, on the to-do list.