Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 75149 invoked from network); 14 Jan 2004 12:19:19 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 14 Jan 2004 12:19:19 -0000 Received: (qmail 936 invoked by uid 500); 14 Jan 2004 12:19:05 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 924 invoked by uid 500); 14 Jan 2004 12:19:04 -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 911 invoked from network); 14 Jan 2004 12:19:04 -0000 Received: from unknown (HELO moutng.kundenserver.de) (212.227.126.187) by daedalus.apache.org with SMTP; 14 Jan 2004 12:19:04 -0000 Received: from [212.227.126.206] (helo=mrelayng.kundenserver.de) by moutng.kundenserver.de with esmtp (Exim 3.35 #1) id 1AgjzE-00065d-00 for users@httpd.apache.org; Wed, 14 Jan 2004 13:19:04 +0100 Received: from [212.18.252.185] (helo=architecx44llh) by mrelayng.kundenserver.de with asmtp (Exim 3.35 #1) id 1AgjzE-00088c-00 for users@httpd.apache.org; Wed, 14 Jan 2004 13:19:04 +0100 From: "Iain Cunningham" To: Date: Wed, 14 Jan 2004 12:19:08 -0000 Message-ID: <000101c3da98$9c4a8740$7b00000a@architecx44llh> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2616 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 In-Reply-To: X-Provags-ID: kundenserver.de abuse@kundenserver.de auth:a4b1c8ae720cb841b677a5f5926599e4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Subject: RE: [users@httpd] Apache 2.0.48 + Windows 2000 Server SP4 + Adaptec RAID array = "DocumentRoot must be a directory" X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N > -----Original Message----- > From: Joshua Slive [mailto:joshua@slive.ca] > Sent: 13 January 2004 21:06 > To: users@httpd.apache.org > Subject: Re: [users@httpd] Apache 2.0.48 + Windows 2000 > Server SP4 + Adaptec RAID array = "DocumentRoot must be a directory" > Importance: High > > > > On Tue, 13 Jan 2004 iain.cunningham@architecta.co.uk wrote: > > DocumentRoot "E:/intranet/test" > > > > and made the appropriate change in the section. > > > > I tested the httpd.conf file with "apache -t" and it > checked out ok, > > so I restarted the service, went to http://127.0.0.1 and > promptly got > > a "File not found error". I then noticed that Apache was > not running > > as a service any more. Checking the system error log > showed an error > > stating that "DocumentRoot must be a directory" (but > > "E:/intranet/test" IS a directory!). > > I'm not a win32 apache expert, but I believe the most common > cause of this problem is that the user under which the apache > service is running doesn't have access to the network drives. > In particular, the default LocalSystem user cannot access > the network. You can change this from the win32 services > configuration screen. > > (You can verify if this is the problem by shutting down the > service and launching apache manually from the command line.) > > Joshua. OK, I tried from the command prompt and that just caused the same "DocumentRoot..." message in the system error log (nothing in the Apache log or the command prompt window though), so I then went back to Google with some different search criteria and found this (apologies if you're a *nix user, if OpenOffice/StarOffice can't open this, but it's probably not of much interest to you anyway): http://das.ite.iowa.gov/security/doc/Windows_Apache_2.doc Having looked through it I have set up the server with an "apache" account that has appropriate levels of access to the various parts of the filesystem and it now appears to be running just fine. Thanks for your help, Iain --------------------------------------------------------------------- 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