I am using Phusion Passenger to host a rails app on an Apache server (I am very new to rails).
I have several domain names that point to the same server, and a mod_rewrite is used to direct different domains to different subdirectories.
I was having a difficult time getting the app to load at all, but I set RailsBaseURI to the path relative to the DocumentRoot, and everything worked fine...however, all the links generated throughout the application include this BaseURI in them.
How can I configure the app to generate URI's relative to the naked domain name instead?