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: <pre> 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 </IfModule>
<VirtualHost *:80>
DocumentRoot /var/www/html/helloapp/public <Directory /var/www/html/helloapp> AllowOverride all Options -MultiViews </Directory> </VirtualHost> </pre> 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 162.243.237.63 Port 80
Any Ideas?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
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: <pre> less /var/log/httpd/error_log </pre>