My setup: Ubuntu 12.04 LTS, Apache, Phusion Passenger, latest Ruby and Rails.
When I visit my website, I get a 500 Internal Server Error.
Error Logfiles: Premature end of script headers
Does somebody know how to solve that problem?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have a database configured for
productionin yourconfig/database.ymlthat doesn’t exist on the server as you mentioned in the comments, that could be the source of your issue since it’s failing to establish a database connection.Remove that connection from your
config/database.ymland restart your app.