网络服务器如何知道网站在哪里?
例如,当我键入stackoverflow.com
时,我了解如何找到正确的Web服务器。但是,网络服务器如何知道要显示哪个文件夹?
我想域的文件夹有某种配置?这是如何工作的?
For example, when I type stackoverflow.com
, I understand how the correct webserver is found. But how does the webserver know which folder to show?
I would guess that there is some kind of config for domain->folder? How does that work?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过访问
stackoverflow.com
您打开/
路由,以便在其路线中搜索此路线并使用此路线运行该功能by visiting
stackoverflow.com
you open the/
route so it searches about this route in its routes and runs the function with this route