Nubie question about virtual hosts

Discussion in 'Install/Configuration' started by djsodom, Sep 4, 2006.

  1. djsodom

    djsodom Active Member

    This is a pretty basic question. Forgive me. I don't know how to set up my virtual host. I'm trying to set up litespeed on my intel mac to run rails.

    The litespeed installation was a snap. Litespeed is installed at:

    I installed ruby lsapi via gem install ruby-lsapi.

    I'm now trying to do step 2 from the ruby_rails_easy wiki page, and use the Virtual Host template (EasyRailsWithSuEXEC).

    The instructions provide this example:

    Virtual Host Name: RubyVHost
    Domain: <the_vhost_domain_name>
    Aliases: <vhost_alias_if_any>
    Virtual Host Root: /myrailapp/ <-- rails application root directory

    I don't know what to put in these fields. I have a rails app on my machine at....


    ..that I'd like to use. Can I point the virtual host root to this directory? Do I have to create a new directory somewhere instead and checkout or copy my project there? If I'm just running litespeed locally for development, I presume I don't need to put anything under domain. If I run this on my production server and my app has a domain of, is that what I put under domain? ( I know, basic stuff.

    Thanks for you help.

  2. mistwang

    mistwang LiteSpeed Staff

    You can try the following:

    Virtual Host Name: RubyVHost
    Domain: *
    Virtual Host Root: Users/steveodom/documents/myrailsapp/trunk

Share This Page