Path_prefix for all routes


#1

I’m deploying RoR application on Hostgator (shared hosting).
I want my application address to be www.domain.com/foo/bar/
Foo is the folder and bar is the symlink that points to the public
folder of my rails application located in my home folder.
www.domain.com/foo/bar 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:
http://forums.hostgator.com/ruby-rails-support-t13038p7.html

Thank you in advance.