TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Can document root of the server be on client machine

2 点作者 jimymodi大约 11 年前
Here is my problem.<p>In our company we have a setup like this. There is a server with apache, php and all. All the client (dev) machine has their one drive (M:) mapped to the home folder on the server of that user. We have also setup the Dynamic document root. For e.g. jimy.www.domain.com get the document root as &#x2F;home&#x2F;jimitm&#x2F;www&#x2F;. Now we have started using GIT some days back. One problem we are facing is git status (or any other similar command) take too much time as it has to check every file for the change on the network drive. What I was thinking is that at all possible that the document root would on client(dev) machine D: Drive (or some local state drive). So for jimy.www.domain.com the Document root will be D:&#x2F;www of the client machine ?<p>Or is there any other workaround ?

2 条评论

jt2190大约 11 年前
Original question asked on superuser.com: <a href="http://superuser.com/questions/728968/can-document-root-of-the-server-be-on-client-machine" rel="nofollow">http:&#x2F;&#x2F;superuser.com&#x2F;questions&#x2F;728968&#x2F;can-document-root-of-t...</a>
mooism2大约 11 年前
You could run git on the server instead of the client.