Rails Ugly Dispatcher

Rails Ugly Dispatcher is a simple, pre-forking, fast (totally pure C), GPLv2 licensed web server aimed ONLY for Rails apps...
Download

Rails Ugly Dispatcher Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • Unbit
  • Publisher web site:
  • http://rugd.unbit.it/

Rails Ugly Dispatcher Tags


Rails Ugly Dispatcher Description

Rails Ugly Dispatcher is a simple, pre-forking, fast (totally pure C), GPLv2 licensed web server aimed ONLY for Rails apps... Rails Ugly Dispatcher (RUgD) is a simple, pre-forking, fast (totally pure C), GPLv2 licensed web server aimed ONLY (and ONLY) for Rails apps deployment.Usage:./rugd -w 10 -p 8017 testapp...then configure mod_rewrite on Apache:RewriteEngine OnRewriteRule ^/$ /index.html RewriteRule ^(+)$ $1.html RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-fRewriteRule ^/(.*)$ http://localhost:8017%{REQUEST_URI} ... or go superfast with nginx: location / { root < app >/public; proxy_set_header Host $http_host; proxy_redirect false; if (-f $request_filename/index.html) { rewrite (.*) $1/index.html break; } if (-f $request_filename.html) { rewrite (.*) $1.html break; } if (!-f $request_filename) { proxy_pass http://localhost:< rugd_port >; break; } }...no need for proxy load balancer !!!


Rails Ugly Dispatcher Related Software