vhosts api or command line

Discussion in 'Install/Configuration' started by ideaoforder, Jul 15, 2008.

  1. ideaoforder

    ideaoforder New Member

    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!
  2. mistwang

    mistwang LiteSpeed Staff

    We may use a flat text file for virtual host template member configuration in 4.0 release, on the to-do list.

Share This Page