Still having problem with Ruby / Rails Passenger-Apache-CentOS

June 13, 2014 1.5k views
I followed this guide: https://www.digitalocean.com/community/tutorials/how-to-setup-a-rails-4-app-with-apache-and-passenger-on-centos-6 This is a the bottom of my conf file. I have the latest Passenger and have varified the path:
LoadModule passenger_module /usr/local/rvm/gems/ruby-2.0.0-p481/gems/passenger-4.0.45/buildout/apache2/mod_passenger.so
<IfModule mod_passenger.c>
     PassengerRoot /usr/local/rvm/gems/ruby-2.0.0-p481/gems/passenger-4.0.45
     PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.0.0-p481/wrappers/ruby

<VirtualHost *:80> 
 # ServerName www.yourhost.com
 DocumentRoot /var/www/html/helloapp/public
 <Directory /var/www/html/helloapp> 
 AllowOverride all 
 Options -MultiViews 
I generated a scaffold of User If i go to http://my.ip.address/users I get ******************************************************************************************** Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Apache/2.2.15 (CentOS) Server at Port 80 ******************************************************************************************** Any Ideas?
1 Answer
If I goto your IP address, it looks like you've got a Rail "hello world" up and running. If you're still having issues with certain urls, please check your Apache error logs:
less /var/log/httpd/error_log 
Have another answer? Share your knowledge.