url - Ruby on Rails Base URI -


I am using Fusion Passenger to host a Rail App on an Apache server (I am very new to Rail I am).

I have several domain names that point to the same server, and a mod_rewrite is used to direct different domains for a different subdirectories.

I had a hard time loading the app, but I set the RailRaseBaseURI path relative to DocumentRoot, and everything works fine ... However, in all the links generated in all applications They included this misinterpretation.

How can I configure an app to create a URI relative to the naked domain name instead?


Comments