Hello,
I've searched around and I am unable to find a simple solution to this problem.
I would like to have my laptop automatically sync with my main (local) server for all web files. This is fairly easy to do in windows, by mapping a drive letter and selecting "make available offline" so that I can work on things away from the office.
However, I cannot get apache to use the network drive (or a folder in the network drive) as a document root.
The best thing I've been able to come up with seems to be that I can create an alias for EVERY folder in the document root... and point that folder to the proper place in the network drive, which seems like a pain... considering I often add sites or setup temporary sites to work with a client on.
So is there an easier/better way to somehow make my offline files work as the document root in apache? Perhaps a way to assign a wildcard so that anything deeper than "//localhost/" will automatically create an alias to my network drive?
Any ideas/input greatly appreciated.
I've searched around and I am unable to find a simple solution to this problem.
I would like to have my laptop automatically sync with my main (local) server for all web files. This is fairly easy to do in windows, by mapping a drive letter and selecting "make available offline" so that I can work on things away from the office.
However, I cannot get apache to use the network drive (or a folder in the network drive) as a document root.
The best thing I've been able to come up with seems to be that I can create an alias for EVERY folder in the document root... and point that folder to the proper place in the network drive, which seems like a pain... considering I often add sites or setup temporary sites to work with a client on.
So is there an easier/better way to somehow make my offline files work as the document root in apache? Perhaps a way to assign a wildcard so that anything deeper than "//localhost/" will automatically create an alias to my network drive?
Any ideas/input greatly appreciated.