2

I am getting 500 internal server error after installing all gems. Some people say it has to do with memory usage, but I am at 29%

This is my vhost

VirtualHost *:80>
      ServerAdmin [email protected]
      ServerName 0.0.0.0
      # ServerAlias
      DocumentRoot /var/www/sample_app/current/public
      ErrorLog /var/www/sample_app/error.log

          RailsEnv production
        <Directory "/var/www/sample_app/current/public">
          Options Indexes FollowSymLinks MultiViews
          Order allow,deny
          Allow from all
        </Directory>
</VirtualHost>

Does the code above need to be in a specific location in the vhost? Is there something else I need to add?

2
  • Premature end of script headers May 24, 2012 at 7:19
  • 2
    can you post the backtrace of the log?
    – jigfox
    May 28, 2012 at 10:42

2 Answers 2

0

Are you sure passenger is installed/enabled properly?

post your stack traces

0

It turns out I had to delete the /etc/apache2/sites-available/default and create my own

1
  • I have the same problem can you be more detailed about this?
    – Jngai1297
    Feb 18, 2014 at 14:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.