Forum: Ruby on Rails path_prefix for all routes

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Milan D. (Guest)
on 2009-05-26 12:47
I'm deploying RoR application on Hostgator (shared hosting).
I want my application address to be
Foo is the folder and bar is the symlink that points to the public
folder of my rails application located in my home folder. gives me index.html page, but I can't hit any
controllers until I set :path_prefix => 'foo' for all routes. Is there
any better way to do it (setting the path_prefix for all routes at once,
or maybe I should change my .htaccess file)

My .htaccess is like this:

Thank you in advance.
This topic is locked and can not be replied to.