I am trying to setup a basic Rails app with Apache and Passenger on Ubuntu. I am able to start WEBrick on the server, but not through Apache.
Here is my app's conf file:
CustomLog /var/log/apache2/blog-access_log combined
# This relaxes Apache security settings.
# MultiViews must be turned off.
And here is the passenger conf:
LoadModule passenger_module /usr/local/lib/ruby/gems/2.0.0/gems/passenger-4.0.24/buildout/apache2/mod_passenger.so
I do have Apache and passenger installed correctly (as well as the Apache module for Passenger). When I do
curl localhost, the generic Apache page is shown and not my app. I haven't seen anything in the Apache error logs that would indicate a failure. Is there something I am missing to get this to work?
EDIT: I am able to hit
curl, but it returns the default Apache page and not the Rails default page. Here is the entry in the
Also, when I run
sudo passenger-stats, I don't see my application in the Application groups. I am guessing that Passenger is the problem here, but I can't seem to find out what is going on.