Passenger displays directory index of public folder, but Rails web app does run

138 views
Skip to first unread message

acoustic_north

unread,
Feb 12, 2012, 5:38:52 AM2/12/12
to Phusion Passenger Discussions, cerv...@mac.com
I don't seem to be able to find what is causing my public folder to be
displayed as a directory index and the web app not running.

I have Passenger 3.0.11, Apache 2.2.20, Ubuntu 11.0.4, Rails 3.0.11.
I've deployed my web app (that funs fine on my Mac dev machine) to my
server using Capistrano.

Apache error.log doesn't seem to be showing any errors. Passenger-
status shows the following:

----------- General information -----------
max = 6
count = 0
active = 0
inactive = 0
Waiting on global queue: 0

----------- Application groups -----------

So there are NO domains listed under Application groups and count = 0.
If I'm not mistaken I should see at least count = 1 and my domain name
should be listed under Application groups, right?

Here is my httpd.conf file:

<VirtualHost *:80>
ServerName eden.<my domain>.com
DocumentRoot /home/scervera/www/dashboard/public
<Directory /home/scervera/www/dashboard/public>
Allow from all
AllowOverride none
Options Indexes FollowSymLinks MultiViews
</Directory>
</VirtualHost>

I have appended the following to my apache2.conf file:

LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/
passenger-3.0.11/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-3.0.11
PassengerRuby /usr/bin/ruby1.8

I have restarted apache and touched the restart.txt file. I am
completely stumped here and I don't see any reports of the same issues
on any other posts. I have also posted the issue to Stackoverflow.com
here: http://stackoverflow.com/questions/9228293/passenger-displays-directory-index-instead-of-rails-web-app

Please help. Thx



Reply all
Reply to author
Forward
0 new messages