LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Ruby/Rails (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=20)
-   -   rails lsapi wiki clarification (http://www.litespeedtech.com/support/forum/showthread.php?t=1159)

dr_seus 07-11-2007 07:12 AM

rails lsapi wiki clarification
 
Hello,

I just wonder if I need the dispatcher.lsapi if I use the Easy Configuration Wiki vhost setup with EasyRailsWithSuEXEC template?

The guide doesn't mention if I need to copy dispatcher.lsapi to my directory or not? That setp is only mentioned in the Step by Step configuration guide.

I wonder because when an error occurs it looks like the rails runner is using dispatcher.rb and not dispatcher.lsapi.

Code:

/usr/local/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:39:in `dispatch'
#              /usr/local/lsws/fcgi-bin/RailsRunner.rb:24

Sorry if this has been mentioned before but I couldn't see it anywhere.

Cheers
Henke

mistwang 07-11-2007 07:29 AM

No, you do not need to copy dispatch.lsapi for the easy configuration.

nathanc 07-11-2007 01:23 PM

I got my rails apps running under the "context" menu rather then the "External App" like it says to do in the wiki. Can you tell me what the difference is? Should I use the "External app", instead of "Context"?

mistwang 07-11-2007 03:45 PM

You should not mix the easy configuration and manual configuration together. Just pick one you like. Both works.


All times are GMT -7. The time now is 11:26 PM.