httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <>
Subject Re: [users@httpd] Using a windows mapped drive for document root
Date Thu, 23 Jan 2003 18:17:52 GMT
Best suggestion, simply use absolute URIs (after you have set up the
service correctly to use an appropriate user account):

DocumentRoot //machine/share/path

The UNC format is the same, except using forward instead of backslashes.
You obviously need to set up your <Directory "//machine/share/path">
blocks to correspond to the UNC path.


At 09:08 AM 1/23/2003, Dwayne Miller wrote:
>I have.
>I can log in and map the drive manually, then restart the service and the directory does
not exist according to Apache.
>If I reboot the system, then the mapping does not even occur (as far as I can tell), and
obviously, the directory does not exist according to Apache.
>Jeff Cohen wrote:
>>Let me ask you something, have you tried mapping the drive with the IP
>>address and not the Hostname?
>>>From: Dwayne Miller []
>>>Sent: Wednesday, January 22, 2003 10:57 AM
>>>Thanks Jeff.
>>>I've done this, I believe.  I changed the service runas username, and
>>>provided the proper password for the remote system.  Still no joy.  If
>>>this is the primary (outside all virtual host containers) document root,
>>>then Apache simply crashes on startup.  If it is a document root
>>>specified in a virtual host, then Apache logs that the directory does
>>>not exist.  Seems like I might be missing a step that causes the drive
>>>mapping to occur.
>>>Jeff Cohen wrote:
>>>>In hope you are running Apache as an NT service, change the username that
>>>>Apache service is configured to run to the username for auth to the
>>>>mapped computer's user.
>>>>>From: Dwayne Miller []
>>>>>Sent: Tuesday, January 21, 2003 9:28 AM
>>>>>Any Windows users out there have any experience in setting up Apache to
>>>>>use a mapped drive as the document root?
>>>>>I know it involves setting up a user that has permissions to the mapped
>>>>>drive and using an alias in the conf file, but all of my attempts have
>>>>>gotten me absolutely nowhere towards resolving this.
>>>>>Any help would be greatly appreciated.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message