#!/usr/bin/env ruby
#
# You may specify the path to the FastCGI crash log (a log of unhandled
# exceptions which forced the FastCGI instance to exit, great for debugging)
# and the number of requests to process before running garbage collection.
#
# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
# and the GC period is nil (turned off). A reasonable number of requests
# could range from 10-100 depending on the memory footprint of your app.
#
# Example:
# # Default log path, normal GC behavior.
# RailsFCGIHandler.process!
#
# # Default log path, 50 requests between GC.
# RailsFCGIHandler.process! nil, 50
#
# # Custom log path, normal GC behavior.
# RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
#
require File.dirname(__FILE__) + "/../config/environment"
require 'fcgi_handler'
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/90983bb3-0c4d-4ada-b62d-953a6e9ca5f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
It's been a while since I used passenger, but did you put the correct passenger declaration pointing to the /public folder of your Rails into the httpd.conf file (or a site-specfic file that is included in httpd.conf)?
DocumentRoot /var/www/vhost/todo.tryx.org/tracks/public
<Directory "/var/www/vhost/todo.tryx.org/tracks/public">
Options +FollowSymLinks -MultiViews
AllowOverride none
</Directory>
LoadModule passenger_module modules/mod_passenger.so
<IfModule mod_passenger.c>
PassengerRoot /var/www/vhost/todo.tryx.org/passenger-4.0.56
PassengerDefaultRuby /usr/bin/ruby
</IfModule>
Finally, you might get more help on the Passenger list than this list, because it looks like the issue is in your Apache/Passenger config not your Rails config.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
To post to this group, send email to rubyonra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2a8461a9-e6bd-4956-8284-553e880d577d%40googlegroups.com.