Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've created super simple rails app

rails test
cd test/
script/generate controller home index
rm public/index.html

# uncommented map.root :controller => "home" in config/routes.rb

When I run app in development mode, it works just fine and everything get logged

<VirtualHost *:80>
    DocumentRoot /opt/rails/test/public

    ErrorLog /opt/rails/test/log/error.log
    CustomLog /opt/rails/testlog/access.log combined

    RailsEnv development

but when I change to RailsEnv production,

RailsEnv production

I get this ugly error page

We're sorry, but something went wrong.
We've been notified about this issue and we'll take a look at it shortly.

and there is absolutely nothing in either error.log or production.log, however, in access.log, I can see the request being logged.

I'm running Ubuntu x64 Jaunty.

share|improve this question
up vote 0 down vote accepted

You should install the ssl_requirement plugin from github. You'll get an email with the error message/session dump etc... when running in production.

Also, the command "rm public/index.php" should be "rm public/index.html".

I would check the logs in /var/log/apache2 just to be sure that you haven't missed something. I know the logs are supposed to be in your custom dir, but...

share|improve this answer
heh, it really did log to /var/log/apache2 ... – Jakub Arnold Aug 29 '09 at 19:06
Cool, glad you found the prob. By the way, I made a mistake, it's not the ssl_requirement's the exception_notifier plugin. – user18783 Aug 30 '09 at 23:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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