# Changing routes.rb to run rails under a sub folder

**URL:** <https://www.ruby-forum.com/t/changing-routes-rb-to-run-rails-under-a-sub-folder/126270>\
**Category:** Rails\
**Created:** [January 16, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/changing-routes-rb-to-run-rails-under-a-sub-folder/126270 "2008-01-16T21:53:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![crenner](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/278dde/32.png) [@crenner](https://www.ruby-forum.com/u/crenner)\
**Post date:** [January 16, 2008, 9:53pm UTC](https://www.ruby-forum.com/t/changing-routes-rb-to-run-rails-under-a-sub-folder/126270/1 "2008-01-16T21:53:37Z")

</div>

I’ve just started using the litespeed webserver, and its the easiest way  
I’ve seen yet to deploy rails applications.

[http://www.litespeedtech.com/](http://www.litespeedtech.com/).

I’ve been told by the tech guys at Litespeed that in order to run  
multiple rails application (e.g. at [example.com/app1](http://example.com/app1) and  
[example.com/app2](http://example.com/app2)) i have to change the config/routes.rb file. Does  
anybody have any idea how you do it? Any help is appreciated

Thanks  
Chris
