Is these the right approach to setting up Rails with custom environment

Discussion in 'Ruby/Rails' started by edgar, Apr 17, 2007.

  1. edgar

    edgar New Member

    Hi,

    I'm a LiteSpeed newbie

    I need to configure a rails application using a custom environment (staging)

    I follow these instructions:
    http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:ruby_rails

    The dynamic "part" of the applications works fine, however the "static" parts (CSS, images) are unreacheable.

    Playing with the configuration I created a new static context (beside the LSAPI) to deal with the static parts of my RoR application, and I assign to this static context the highest priority.

    Now the application works fine, but I'm not sure if that is the right approach

    any comments?
  2. mistwang

    mistwang LiteSpeed Staff

    Yes, it is the right approach.
  3. edgar

    edgar New Member

    Thx mistwang

Share This Page