Rails with passenger only runs in development
- by Ignace
Hey,
I have a problem on one of our webservers.
I'll try to explain it as clear as possible, but I'm not 100% aware of all the configuration of the server.
There are 2 sites running next to eachother (blcc_preprod and blcc_prod), so in the 'sites-enabled' of apache this i have a file 'blcc' like this:
<VirtualHost *:80>
DocumentRoot /opt/dn/blcc/www
RailsBaseURI /blcc_preprod
RailsBaseURI /blcc_prod
RailsEnv production
</VirtualHost>
My config/environments/production.log (from both) looks like this(I removed all comments, because it messes with the layout)
config.cache_classes = true
config.action_controller.consider_all_requests_local = false
config.action_controller.perform_caching = true
config.action_view.cache_template_loading = true
config.log_level = :debug
The weird thing is, that my production log dates from months ago, so something is really wrong.
Could someone help? If you need more info, just ask.
Thanks!
Edit:
Error.log from apache show the normal output for a event to the server (the situation here is that the webserver plugs in to another business (java) server via a framework)
Access.log is empty
Content from other_vhosts_access.log after we surf to ip/blcc_preprod is the following
blcc.localdomain:80 192.168.21.194 - - [25/May/2010:08:33:04 +0200] "GET/ blcc_preprod
HTTP/1.1" 500 594 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET
CLR 1.1.4322; .NET CLR 2.0.50727)"