Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Apache will not restart when document root is changed in H..

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Basic authentication problem  
Author Message
andysummerskill

External


Since: Sep 28, 2007
Posts: 2



(Msg. 1) Posted: Fri Sep 28, 2007 3:37 am
Post subject: Apache will not restart when document root is changed in HTTPD.CONF file
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Apache will not restart when document root is changed in H.. 
Back to top
Login to vote
andysummerskill

External


Since: Sep 28, 2007
Posts: 2



(Msg. 2) Posted: Mon Oct 01, 2007 5:08 am
Post subject: Re: Apache will not restart when document root is changed in HTTPD.CONF file [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Additional info.

Tried installing versions 2,2,4, 2.2.5 and 2.2.6 and see the same
problem.

No useful information from the Apache error log but get the following
information from the Windows event viewer:

Faulting application httpd.exe, version 2.2.5.0, faulting module
libapr-1.dll, version 1.2.9.0, fault address 0x000038dc.

Regards,

Andy Summerskill

 >> Stay informed about: Apache will not restart when document root is changed in H.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Apache Document Root - Hi, i am using OpenBSD 3.5 with Apache 1.3.29. I have two Disks installed on the system wd0 and wd1 I have changed the Document Root from DocumentRoot "var/www/htdocs" [/var is mounted on wd0] to DocumentRoot "pub/ftp/public" [/pu...

Setting the document-root for Apache Version 2.0 on Fedor.. - Hello, Updating form Fedora Core 2 (FC2) to FC3 presented no problem except that some modules didn't survive. Installing it newly on an other computer and then trying to configure Apache V2.0 to serve from \www\htdocs (not the installation-default..

Document Root - Hi all, I am having a problem with setting the document root on my Linux box. I have updated DocumentRoot to <DocumentRoot "/var/www/html/website"> along with <Directory "/var/www/html/website"> ...

document root - hi, my document root is var/www/html but all the files apache is serving is in /usr/local/apache2/htdocs whats going on?? on a seperate issue, how can i check if ive installed 2 copies of apache. ie it came with the installation, then i downloded the..

Document root on another PC - Hi! Using a windows 2000 Network I have got one PC containing all the documents for the internet. The Apache is installed on another PC and I wanted to set the DocumentRoot to the location at the Doecument Server...it doesn't work this way: DocumentRoot....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can 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



[ Contact us | Terms of Service/Privacy Policy ]