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:

http://wiki.bitnami.com/components/phusion_passenger


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -