LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Nubie question about virtual hosts

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2006, 06:27 PM
djsodom djsodom is offline
Member
 
Join Date: Sep 2006
Posts: 37
Default Nubie question about virtual hosts

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:
Users/steveodom/lsws

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....

Users/steveodom/documents/myrailsapp/trunk

..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 myrailsapp.com, is that what I put under domain? (myrailsapp.com?). I know, basic stuff.

Thanks for you help.

Steve
Reply With Quote
  #2  
Old 09-03-2006, 07:02 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
You can try the following:

Virtual Host Name: RubyVHost
Domain: *
Aliases:
Virtual Host Root: Users/steveodom/documents/myrailsapp/trunk
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to disable php support in one of virtual hosts? elvis7 Install/Configuration 8 10-31-2008 03:14 PM
Setting a 'server maintenance' page for all virtual hosts subBlue Install/Configuration 2 07-01-2007 06:06 PM
Stopped virtual hosts do not stay stopped PSS Feedback/Feature Requests 1 06-10-2007 08:48 PM
Virtual Hosts (by way of templates) always say 'Restart Required', but work fine. phallstrom General 3 03-14-2007 07:01 PM
name based virtual hosts for the same domain mzagar Install/Configuration 2 01-31-2005 06:53 PM


All times are GMT -7. The time now is 02:10 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.