Settings

Theme

Can document root of the server be on client machine

2 points by jimymodi 12 years ago · 2 comments · 1 min read


Here is my problem.

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 /home/jimitm/www/. 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:/www of the client machine ?

Or is there any other workaround ?

jt2190 12 years ago

Original question asked on superuser.com: http://superuser.com/questions/728968/can-document-root-of-t...

mooism2 12 years ago

You could run git on the server instead of the client.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection