Changeset 2789
- Timestamp:
- 10/28/05 20:09:52 (3 years ago)
- Files:
-
- trunk/railties/bin/lighttpd (modified) (1 diff)
- trunk/railties/configs/lighttpd.conf (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/railties/bin/lighttpd
r2787 r2789 3 3 if RUBY_PLATFORM !~ /mswin/ && `lighttpd -version 2>/dev/null`.size > 0 4 4 puts "=> Rails application started on http://0.0.0.0:3000" 5 puts "=> Ctrl-C to shutdown server "5 puts "=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)" 6 6 7 7 `lighttpd -D -f #{File.dirname(__FILE__) + "/../"}/config/lighttpd.conf` trunk/railties/configs/lighttpd.conf
r2787 r2789 13 13 url.rewrite = ( "^/$" => "index.html", "^([^.]+)$" => "$1.html" ) 14 14 15 # Change *-procs to 2 if you need to use Upload Progress or other tasks that 16 # *need* to execute a second request while the first is still pending. 15 17 fastcgi.server = ( ".fcgi" => 16 18 ( "localhost" => 17 19 ( 18 "min-procs" => 2,19 "max-procs" => 2,20 "min-procs" => 1, 21 "max-procs" => 1, 20 22 "socket" => "log/fcgi.socket", 21 23 "bin-path" => "public/dispatch.fcgi",