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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-11-2006, 03:13 PM
zoom zoom is offline
Senior Member
 
Join Date: Nov 2005
Posts: 92
Default LSWS Ruby LSAPI

I'm still having a small problem with getting the LSWS to run my RAILS application using the Ruby LSAPI. When I attempt to run my application it just dumps the dispatch.lsapi instead of running the application. Do I have set the script?? Thanks in Advance..

Here are the steps I did...

$ cd ruby-lsapi-1.0
$ ruby setup.rb config
$ ruby setup.rb setup
$ ruby setup.rb install

Copy dispatch.lsapi to Rails app's public/ directory
Change rewrite rule in public/.htaccess as described in Ruby LSAPI README
Server Configuration > External Apps > Add, Type: LSAPI APP
Name: RubyLsapi
Address: uds://tmp/lshttpd/lsruby.sock
Max Connections: 10
Environment: LSAPI_CHILDREN=10

Then I finally created a context in the VirtualHost using LiteSpeedApi

URI: /dispatch.lsapi
LSAPI: [Server Level]: RubyLsapi
AllowOverride: ALL
AllowAccess: ALL
Reply With Quote
  #2  
Old 05-11-2006, 03:27 PM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
Compare your setup with our demo server's. Our demo config has a rails-applications setup (typo):

View our Admin GUI for the config lines.

http://www.litespeedtech.com/products/demo/

Last edited by xing; 05-11-2006 at 04:32 PM..
Reply With Quote
  #3  
Old 05-14-2006, 04:50 PM
Xorlev Xorlev is offline
Senior Member
 
Join Date: Nov 2005
Posts: 58
Also, take a look at the thread I posted on this trying to get it to work. There's some additional information there.

http://www.litespeedtech.com/communi...read.php?t=422
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
Ruby LSAPI 2.4 and PHP LSAPI 3.1 released mistwang News 0 04-24-2007 03:35 PM
Ruby LSAPI 1.13 Released mistwang News 0 01-16-2007 10:17 AM
LSAPI Ruby v1.12, PHP v2.4 Released mistwang News 0 01-10-2007 01:18 PM
LSWS 2.2.1 + Ruby LSAPI 1.7 xing News 0 09-11-2006 12:09 PM


All times are GMT -7. The time now is 03:22 PM.



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