HTTP 请求从 Web 服务器分派到 CGI/FastCGI 进程
为了更好地了解 Web 应用程序中 HTTP 请求的处理方式,Apache 等 Web 服务器如何将请求分派到其虚拟主机之一?无论框架(Rails/PHP/Java)如何,最初执行的程序是什么?如果有人能列出以 Rails 为例的步骤(据我所知 Rails),我将不胜感激。提前致谢!
To gain more understanding of how HTTP requests are handled in case of web apps, how does a web server like Apache, dispatch a request to one of its Virtual Hosts? What are the initial programs executed irrespective of the framework (Rails/PHP/Java)? I would appreciate if someone can list the steps taking example of Rails (as I know Rails). Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
啊,几篇关于 Rails 的好文章解释了我想知道的大部分内容:
http://railsguts.com /initialization.html
http://www.codeweblog.com/rails-startup -进程/
Ah, couple of good rails specific articles that explain most of what I wanted wanted to know:
http://railsguts.com/initialization.html
http://www.codeweblog.com/rails-startup-process/