Changing routes.rb to run rails under a sub folder

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

I've been told by the tech guys at Litespeed that in order to run multiple rails application (e.g. at example.com/app1 and 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