httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Iain Cunningham" <>
Subject RE: [users@httpd] Apache 2.0.48 + Windows 2000 Server SP4 + Adaptec RAID array = "DocumentRoot must be a directory"
Date Wed, 14 Jan 2004 12:19:08 GMT
> -----Original Message-----
> From: Joshua Slive [] 
> Sent: 13 January 2004 21:06
> To:
> 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 wrote:
> > DocumentRoot "E:/intranet/test"
> >
> > and made the appropriate change in the <Directory "..."> section.
> >
> > I tested the httpd.conf file with "apache -t" and it 
> checked out ok, 
> > so I restarted the service, went to 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):

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,


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