Welcome Guest | Login

Rails: HTTP 200 in production log but Error 500 in apache log

I went through the different tutorial to set up my rails application.
I checked:
- environment.rb / database.yml
- .htaccess with the line  

:AddHandler fastcgi-script .fcgi commented
and the updated line RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

- authorization (755 for dispatchers)
- I am not using any special gem version

I got a error 500 when I try to connect to my main page. But when I check the production log I have a successful request.
Completed in 0.04337 (23 reqs/sec) | Rendering: 0.01163 (26%) | DB: 0.00027 (0%) | 200 OK

Any one has a idea ?

2007-02-09 12:11 PM

Ok - that's quite strange - I've never seen that before.  Are you absolutely certain that the logs are linked to the request?  Was the error a 'rails failed to start' error?  or an application error (without a failed to start) - both are technically a 500.

2007-02-09 05:09 PM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.