HTTP 请求从 Web 服务器分派到 CGI/FastCGI 进程

发布于 2024-08-19 11:49:07 字数 149 浏览 1 评论 0原文

为了更好地了解 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

淡看悲欢离合 2024-08-26 11:49:07

啊,几篇关于 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/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文