instlling rails app on shared litespeed config

Discussion in 'Ruby/Rails' started by imagetic, Jul 28, 2007.

  1. imagetic

    imagetic New Member

    I'm trying to install Mephisto ( on a shared litespeed host account.

    Support just told me the same thing that is posted in the litespeed wiki:

    So yeah, the config leaves me a little baffled, because I'm not sure it's setup right, and if it is, then it might be that the server is not fully configured?

    Rails 1.2.3 and Ruby 1.8.4 are installed.

    RailsApp imagetic "/mephisto" "production" 4 1
    RailsAppMap imagetic "" "/"
    this lies in my .ls_rails_config file in /home/user/

    /mephisto lies in home/user/

    and the install up to running rake was normal, but when i go to I just get a directory listing.

    Any ideas?
  2. ffeingol

    ffeingol Well-Known Member

    I was just playing with this to get it going too :) Install mephisto outside the web space (or any place really). Then symlink mephisto/public to whatever you want. If it's your main document root you should be done. If it's going to be a directory within your document root then you need edit mephisto/config/environment.rb and uncomment this line (and set it properly):

    # Set this if you're running under a sub directory
    ActionController::AbstractRequest.relative_url_root = '/####'
    The .ls_rails_config looks right, but it's a bit hard to tell w/o knowing what your doc root is.

  3. imagetic

    imagetic New Member

    public should display inside my public_html from the ls_rails_config file, so I was told or heard

    but I did try a symlink when trying to get it all running

    ln -s mephisto/public public_html

    which puts the linked public folder inside public_html, this is one dir level too far? I'm sorry, I am new to this environment and not a season rails pro as it is

    so basically when i log in, ssh or sfpt/ftp whatever, i am in my root of home/user, because its a shared environment, there lies the .ls_rails_config and /mephisto folder of the application, as well as the public_html folder


    on my vps you are one dir higher, the mephisto stuff lies outside the folder which everything points to launch within.
    Last edited: Jul 28, 2007
  4. ffeingol

    ffeingol Well-Known Member

  5. imagetic

    imagetic New Member

    not looking for a subdomain or subfolder
  6. ffeingol

    ffeingol Well-Known Member


    Looks right to be (I'm still new at RoR). A few questions:

    - Do you have the enterprise version (not free)?

    - Did you activate the shared hosting option under the server/ruby tab?


Share This Page