提交 a2cfc13f 编写于 作者: M Mina Naguib

Fix some bad grammar, and elaborate more on common web serving setup

上级 da965645
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册