Setting a mapped drive in Virtual hosts causes apache to not start
- by darksoulsong
I´m trying to set a virtual host on my windows 7 machine. The folder I want to point to is located on a centOS machine and the folder path is Z:\Websites\Online\MyClient\Site.
But something strange happens when I set the document root like this:
DocumentRoot "Z:\Websites\Online\MyClient\Site"
Apache do not restarts after that. When I take a look at the log, there is an error pointing to that line, where I added the path to the folder:
Syntax error on line 48 of C:/Program Files/Zend/Apache2/conf/extra/httpd-vhosts.conf:
DocumentRoot must be a directory.
There must be a way to make it work like this, by setting an Apache Installation on a machine and pointing it to a folder located on another computer, right?
My hosts file is set like this:
172.17.10.1\Data\Websites\Online\MyClient\Site MyClient.local
ANY HELP would be VERY appreciated.