I am trying to deploy the application in a subdirectory /aunder www.myserver.com, following the instructions in the Passenger Docs here:
http://www.modrails.com/documentation/Users%20guide.html#deploying_rails_to_sub_uri
This seems to work, but Rails routes now expect an extra subdirectory /a, so trying to access the root www.myserver.com/agives me a RoutingError. I tried the installation relative_url_root, but that doesn’t change anything. Do I need to add a prefix /ato each route in the routes file?
source
share