I'm trying to deploy an application in a subdirectory /a
under www.myserver.com
, following the steps in the Passenger docs here:
http://www.modrails.com/documentation/Users%20guide.html#deploying_rails_to_sub_uri
This seems to work, but the Rails routes are now all expecting the additional subdirectory /a
, such that trying to access the root www.myserver.com/a
gives me a RoutingError. I've tried setting relative_url_root
, but that changes nothing. Do I need to add the prefix /a
to every route in my routes file?