root/public/dispatch.fcgi

Revision 15, 0.9 kB (checked in by falcon, 16 years ago)

Better W3C Compliance, misc fixes, changed media max size to 1024x800 px

  • Property svn:executable set to *
Line 
1#!/usr/local/bin/ruby
2#
3# You may specify the path to the FastCGI crash log (a log of unhandled
4# exceptions which forced the FastCGI instance to exit, great for debugging)
5# and the number of requests to process before running garbage collection.
6#
7# By default, the FastCGI crash log is RAILS_ROOT/log/fastcgi.crash.log
8# and the GC period is nil (turned off).  A reasonable number of requests
9# could range from 10-100 depending on the memory footprint of your app.
10#
11# Example:
12#   # Default log path, normal GC behavior.
13#   RailsFCGIHandler.process!
14#
15#   # Default log path, 50 requests between GC.
16#   RailsFCGIHandler.process! nil, 50
17#
18#   # Custom log path, normal GC behavior.
19#   RailsFCGIHandler.process! '/var/log/myapp_fcgi_crash.log'
20#
21require File.dirname(__FILE__) + "/../config/environment"
22require 'fcgi_handler'
23#require 'rubygems'
24#require_gem 'fcgi'
25
26RailsFCGIHandler.process!
Note: See TracBrowser for help on using the browser.