网络服务器如何知道网站在哪里?

发布于 2025-02-05 18:38:19 字数 115 浏览 2 评论 0原文

例如,当我键入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 技术交流群。

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

发布评论

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

评论(1

面犯桃花 2025-02-12 18:38:19

通过访问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

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