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

Go Back   LiteSpeed Support Forums > External Applications > Ruby/Rails > lsapi with camping?

Reply
 
Thread Tools Display Modes
  #11  
Old 07-15-2007, 12:12 PM
plato plato is offline
New Member
 
Join Date: Jul 2007
Posts: 6
Hi,

I didn't mix the two options. Because the scenario with thr ruby runner did not work, I've tried to use LSAPI directly. I changed my application accordiing to the documentation. Then I added a external app with my application.rb as command and defined a lsapi context using the ext app. No script handler anymore. But it still doesn't work. The following error messages are shown:

2007-07-15 21:03:24.241 [NOTICE] [127.0.0.1:50619-0#application] Premature end of response header.
2007-07-15 21:03:25.280 [NOTICE] [127.0.0.1:50621-0#application] Premature end of response header.

So what does that mean?

Thanks.
Reply With Quote
  #12  
Old 07-15-2007, 12:34 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
That probably means that the application does not send back any response header. you should start with a simple hello world LSAPI application, or hello world CGI with the ruby runner. Once you get an idea about the configuration, you can try the complicate stuff.
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


All times are GMT -7. The time now is 10:06 AM.



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