ruby on rails - Passenger on bitnami - can't access app root, all other routes working -
i created bitnami instance on aws, , uploaded rails application @ - /home/bitnami/my_app
i added following virtual hosts -
<virtualhost *:80> serveradmin test@test.com documentroot "/home/bitnami/my_app/public" <directory /home/bitnami/my_app/public> allow options -multiviews </directory> railsenv production servername www.my_app.com errorlog "logs/my_app.com-error_log" customlog "logs/my_app.com-access_log" common </virtualhost>
inside application routes.rb, have -
root :to => "pages#home"
i can access routes in application, i.e. if go www.my_app.com/signin, works.
however, trying access root - i.e. www.my_app.com gives 404 error.
what missing? in advance help.
have enabled passenger in apache configuration? guide below may help:
Comments
Post a Comment