We need to deploy a rails 3.2.12 app
to sub uri nbhy
on a ubuntu 12.04
server. The rails app
has 3 engines
a
Most likely the authentify
engine is doing a redirect to /user_menus
, instead of /nbhy/authentify
. Is this a custom Rails or Sinatra app that you have written? If so, you need to change/configure the code of authentify
to always append the current subdirectory under which the Rails app is hosted. You can get that from passenger by saying ENV['RAILS_RELATIVE_URL_ROOT']
in your code.