ry / ebb fork watch download tarball
public
Description: web server
Homepage: http://ebb.rubyforge.org
Clone URL: git://github.com/ry/ebb.git
Search Repo:
ryah (author)
Mon Mar 24 11:28:01 -0700 2008
commit  573814245209b423878a0011ef40aa674e7c2c10
tree    fa863d21e5c371d675e62f483e6a008c98a56230
parent  f278ac2badf0c6e3a8f7c2572217cd38e7780f44
ebb / benchmark / cgi / fcgi-rack.rb
100755 8 lines (7 sloc) 0.234 kb
1
2
3
4
5
6
7
8
#!/usr/bin/env ruby
require 'rubygems'
require 'rack'
require File.dirname(__FILE__) + '/../application'
 
trap ('INT') { exit }
puts ("Starting FastCGI server at 0.0.0.0:9001")
Rack::Handler::FastCGI.run(SimpleApp.new, :Port => 9001)