Discussion in 'Install/Configuration' started by zoom, Nov 29, 2005.
Has anyone been able to setup Ruby using LiteSpeed?
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.
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.
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:
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/01/21/up-and-running-in-the-speed-of-light
Thanks for the totorial, looks very good.
The timeout of the web admin console is configurable. http://www.litespeedtech.com/docs/AdminGeneral_Help.html#sessionTimeout
Separate names with a comma.