Rail application installation in a sub-directory

#1
Hello.

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

www.example.com/myrailsapp

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

TIA
 

mistwang

LiteSpeed Staff
#2
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.
 
Top