rails lsapi wiki clarification

Discussion in 'Ruby/Rails' started by dr_seus, Jul 11, 2007.

  1. dr_seus

    dr_seus Member


    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.

    /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.

  2. mistwang

    mistwang LiteSpeed Staff

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

    nathanc Well-Known Member

    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"?
  4. mistwang

    mistwang LiteSpeed Staff

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

Share This Page