This is a discussion on apache2 windows DocRoot point to network drive? within the Windows Web Servers forums, part of the Web Server and Related Forums category; I have a windows box with a samba mounted drive on S: ... would like windows-based apache2 installation on this ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have a windows box with a samba mounted drive on S: ... would like
windows-based apache2 installation on this box to go to htdocs on that S: mount. But get syntax errors starting apache with httpd.conf DocumentRoot, etc, pointing to the S: drive. Tried config'ing windows to start apache service under my username, which has the S: auto-mount, but that doesn't work. Can I somehow use a directive like this to mount? //machinename/royce/website/htdocs or S:/website/htdocs Thanks, Royce |
|
|||
|
Local 2Me wrote:
> I have a windows box with a samba mounted drive on S: ... would like > windows-based apache2 installation on this box to go to htdocs on that > S: mount. But get syntax errors starting apache with httpd.conf > DocumentRoot, etc, pointing to the S: drive. Tried config'ing windows > to start apache service under my username, which has the S: auto-mount, > but that doesn't work. Can I somehow use a directive like this to > mount? > > //machinename/royce/website/htdocs > or > S:/website/htdocs It should work as long as your user has access to the network resource. You might want to check exactly what access you have to it. You will likely be better off with UNC names than mapped drives. You might find the "CACLS" command useful for figuring out what access is on directories, especially if you're running "Windows Home" where the GUI is dumbed down about these things. There's some advice in the Apache manual about this; check it out at http://httpd.apache.org/docs-2.0/pla...ws.html#winsvc . -- Jim Patterson Ottawa, Ont CANADA |