Rails relative_url doesnt adjust links
问题 After failed attempts with Passenger (see my other question), I managed to get rails running via a reverse proxy in a subfolder. I added the lines config.relative_url_root = "/App" config.action_controller.relative_url_root = "/App" to my environment. Now I can access my rails project under www.mySite.com/App. The problem is that the links /paths dont add the prefix "/App". So a link to "users" looks like www.mySite.com/users instead of www.mySite.com/App/users . How can I change this? At