Bluehost.com Web Hosting $6.95

apache2 windows DocRoot point to network drive?

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-24-2005
Local 2Me
 
Posts: n/a
Default apache2 windows DocRoot point to network drive?

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

  #2 (permalink)  
Old 04-26-2005
Jim Patterson
 
Posts: n/a
Default Re: apache2 windows DocRoot point to network drive?

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
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 11:39 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0