TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Can document root of the server be on client machine

2 pointsby jimymodiabout 11 years ago
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 comments

jt2190about 11 years ago
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>
mooism2about 11 years ago
You could run git on the server instead of the client.