Hi, sorry if this has been answered before but I couldn't find it when I searched. I would like to share the htdocs folder on two machines on my network so I thought I would put all my files in my Dropbox and have the web server on both machines point to /Users/myusername/Dropbox/htdocs to get their files. That way I can develop my web app on both machines and see the results on either web server.
Trouble is that I can't seem to change the location of the htdocs folder on the Mac. I have tried changing some lines in httpd.conf from:
DocumentRoot "/opt/lampp/htdocs"
<Directory "/opt/lampp/htdocs">
to
DocumentRoot "/Users/myusername/Dropbox/htdocs"
<Directory "/Users/myusername/Dropbox/htdocs">
When I select 'Go to Application' in XAMPP, the browser gives me the message 'This site can’t be reached 192.168.64.2 refused to connect.'
Is there something else I need to do or is my approach all wrong? Any help would be greatly appreciated.