Information Services Talk
Information Services Talk
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Apache will not restart when document root is changed in HTT

 
Post new topic   Reply to topic    Information Services Talk Forum Index -> Information Services Talk
View previous topic :: View next topic  
Author Message
andysummerskill
Guest





PostPosted: Thu Sep 27, 2007 5:35 pm    Post subject: Apache will not restart when document root is changed in HTT Reply with quote

Hi,

Just installed Apache Web Server on a PC running XP-MCE with the
intention of storing my website on a Network Attached Storage (Maxtor
Shared Storage II) disk drive. With this in mind I created a folder on
this drive under the file path \\MSS\Public\Our Sites\Web and saved a
html file, named index.html in the \Web folder. I then mapped the
drive letter K: to \\MSS\Public\Our Sites on the PC. I then edited the
Document Root directive and Directory directive in the default
httpd.conf file from "C:\Program Files\Apache Software Foundation
\Apache2.2\htdocs" to read "K:\Web" and a Directory. Saved the file
and then tried to restart Apache but got the Windows Error Message
that 'Apache HTTP Server has encountered a problem needs to close',
followed a few seconds later the Apache Error Message 'The requested
operation has failed'.

I've done a bit of troubleshooting and found that, without changing
the httpd.conf file again, if I plug in a USB drive into the PC it
acquires the drive letter K: and if I put an index.html into the \Web
folder on this drive and restart Apache again it restarts with no
problems!

I have also tried mapping K: to C:\Program Files\Apache Software
Foundation\Apache2.2\htdocs, creating a \Web folder containing a file
index.html in the \htdocs folder and restarting the server but, again,
the server fails to start and the Error Messages above are generated!!

Can't find any reference in newsgroups or Apache documentation that
could explain what I am seeing so was hoping that someone might be
able to shed some light on the issue?

Regards,

Andy Summerskill
Back to top
  Ads
Advertising
Sponsor


Display posts from previous:   
Post new topic   Reply to topic    Information Services Talk Forum Index -> Information Services Talk All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Board Security

80 Attacks blocked

Powered by phpBB © 2001, 2005 phpBB Group