HTTP request dispatch from Web Server to a CGI/FastCGI process

情到浓时终转凉″ 提交于 2020-01-04 05:39:08

问题


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!


回答1:


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/



来源:https://stackoverflow.com/questions/2157223/http-request-dispatch-from-web-server-to-a-cgi-fastcgi-process

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!