Return-Path: Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 95561 invoked by uid 500); 23 Jan 2003 18:22:18 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 95546 invoked from network); 23 Jan 2003 18:22:18 -0000 Received: from leviathan.cnchost.com (207.155.252.18) by 208.185.179.12.available.above.net with SMTP; 23 Jan 2003 18:22:18 -0000 Received: from RCSV650.rowe-clan.net (www1.rowe-clan.net [208.176.192.146]) by leviathan.cnchost.com id NAA14759; Thu, 23 Jan 2003 13:22:20 -0500 (EST) [ConcentricHost SMTP Relay 1.15] Errors-To: Message-Id: <5.2.0.9.2.20030123121510.03bf8b00@pop3.rowe-clan.net> X-Sender: wrowe%rowe-clan.net@pop3.rowe-clan.net X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Date: Thu, 23 Jan 2003 12:17:52 -0600 To: users@httpd.apache.org From: "William A. Rowe, Jr." Cc: users@httpd.apache.org In-Reply-To: <3E300567.6050804@espgroup.net> References: <000801c2c264$0dc493a0$6500a8c0@jeff> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Rating: 208.185.179.12.available.above.net 1.6.2 0/1000/N Subject: Re: [users@httpd] Using a windows mapped drive for document root 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 blocks to correspond to the UNC path. Bill 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 [mailto:dmiller@espgroup.net] >>>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 [mailto:dmiller@espgroup.net] >>>>>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 for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org