Rail application installation in a sub-directory

Discussion in 'Ruby/Rails' started by adriatic, Oct 26, 2006.

  1. adriatic

    adriatic Member


    I'd like to run a rails app under a directory of a domain, like in:


    How do I configure LiteSpeed to access that application?

    What specific configuration of the rails template/virtual host I've to do to make it working?

    If I just follow the wki installation instructions (with template) I get a "page not found" error (other rails applications I access through a subdomain, i.e. "myrailsapp.example.com" are running smoothly).

  2. mistwang

    mistwang LiteSpeed Staff

    You can just add "Rails" context with URI "/myrailsapp/", if you application has been configured to work properly under that URL, then it should work.
    You should instanciate the vhost configuration if you use the template, then change or add the "Rails" context.

Share This Page