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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Ruby Setup

Reply
 
Thread Tools Display Modes
  #1  
Old 11-28-2005, 09:54 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default Ruby Setup

Has anyone been able to setup Ruby using LiteSpeed?
Reply With Quote
  #2  
Old 11-29-2005, 08:17 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Yes, if you search on the forum you will find.
Instaed of patching ruby's fcgi code, you need to turn off fcgi persistent connection in the corresponding Ruby FCGI extapp configuration.
Reply With Quote
  #3  
Old 11-29-2005, 10:09 AM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Thanks mistwang,
I did find the other posting on the forum about Ruby. However, I guess I was looking for some more insight into how I accomplish it using litespeed. From what I've read it seems that I need to create an External application entry for my virtual host. I'm just not sure what exactly I need to put in the address field, or other fields in order for it work correctly.

I'm assume that I need to create a specialized context entry that points "/" and uses the external application definition. Do I need anything for the Script Handler as well???

If anyone has an example, or can guide me on what needs to be setup for Ruby to work correctly under litespeed it would be much appreciated. I'm kinda new to the fastcgi world working mostly with Apache2 mods ie: mod_php, mod_perl. Thanks again.
Reply With Quote
  #4  
Old 11-29-2005, 10:42 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
you can PM Roman2K, see if he can help you on this. :-)

The address should be something like "uds://tmp/lshttpd/<yourRubyAppName>.sock",

About fcgi extapp configuration, you can take a look at:
http://www.litespeedtech.com/docs/Ho...html#qa_extapp
Reply With Quote
  #5  
Old 01-25-2006, 11:46 PM
rsilva rsilva is offline
New Member
 
Join Date: Jan 2006
Posts: 9
I wrote a not so little tutorial/walkthrough on setting up Ruby on Rails with LiteSpeed. Its not too complicated but there are a lot of steps. It assumes you already know how to set up a Rails project. You can find it at: http://www.railtie.net/articles/2006...speed-of-light

Good luck
Reply With Quote
  #6  
Old 01-26-2006, 09:52 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Thanks for the totorial, looks very good. :-)

The timeout of the web admin console is configurable. http://www.litespeedtech.com/docs/Ad...sessionTimeout
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
Setup for Rails via Litespeed Ruby LSAPI Justin Ruby/Rails 2 12-08-2007 07:19 PM
LSAPI Ruby v1.12, PHP v2.4 Released mistwang News 0 01-10-2007 01:18 PM
Expected memory usage? subBlue Install/Configuration 4 10-20-2006 02:39 PM
LSWS Ruby LSAPI zoom Install/Configuration 2 05-14-2006 04:50 PM
Ruby Setup - LSAPI Xorlev Ruby/Rails 10 05-07-2006 02:51 PM


All times are GMT -7. The time now is 04:48 PM.



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