diff options
author | Mina Naguib <mina.git@naguib.ca> | 2009-05-11 11:18:42 -0400 |
---|---|---|
committer | Mina Naguib <mina.git@naguib.ca> | 2009-05-11 11:18:42 -0400 |
commit | a2cfc13f9ed4123416a87142daca3b03a8e824a0 (patch) | |
tree | 6a6b2a93edecd11dabb4847e415b7b1697d3a014 | |
parent | da965645c218a0ea6f140b0247a00bafee15f77e (diff) | |
download | rails-a2cfc13f9ed4123416a87142daca3b03a8e824a0.tar.gz rails-a2cfc13f9ed4123416a87142daca3b03a8e824a0.tar.bz2 rails-a2cfc13f9ed4123416a87142daca3b03a8e824a0.zip |
Fix some bad grammar, and elaborate more on common web serving setup
-rw-r--r-- | railties/README | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/railties/README b/railties/README index 37ec8ea211..eef062c39a 100644 --- a/railties/README +++ b/railties/README @@ -36,17 +36,22 @@ link:files/vendor/rails/actionpack/README.html. == Web Servers -By default, Rails will try to use Mongrel if it's are installed when started with script/server, otherwise Rails will use WEBrick, the webserver that ships with Ruby. But you can also use Rails -with a variety of other web servers. +By default, Rails will try to use Mongrel if it's installed when started with script/server, otherwise +Rails will use WEBrick, the webserver that ships with Ruby. But you can also use Rails with a variety of +other web servers. Mongrel is a Ruby-based webserver with a C component (which requires compilation) that is suitable for development and deployment of Rails applications. If you have Ruby Gems installed, getting up and running with mongrel is as easy as: <tt>gem install mongrel</tt>. More info at: http://mongrel.rubyforge.org -Say other Ruby web servers like Thin and Ebb or regular web servers like Apache or LiteSpeed or -Lighttpd or IIS. The Ruby web servers are run through Rack and the latter can either be setup to use -FCGI or proxy to a pack of Mongrels/Thin/Ebb servers. +Other ruby web servers exist which can run your rails application, however script/server does +not search for them or start them. These include Thin, Ebb, and Apache with mod_rails. + +For production use, often a web/proxy server such as Apache, LiteSpeed, Lighttpd or IIS is +deployed as the front-end server, with the chosen ruby web server running in the back-end +and receiving the proxied requests via one of several protocols (HTTP, CGI, FCGI). + == Apache .htaccess example for FCGI/CGI |