While I restart httpd service I see a thousand of warnings like the following:

Warning: DocumentRoot [/home/u79894/domains/edsdsdics.com.mx/private_html/lms] does not exist 
Warning: DocumentRoot [/home/admin/domains/suspended/sketch] does not exist 
Warning: DocumentRoot [/home/admin/domains/suspended/sketch] does not exist 
Warning: DocumentRoot [/home/u79507/domains/centsdrointegdraldelaesaludd.com/private_html] does not exist 
Warning: DocumentRoot [/home/u79875/domains/someberapyikal.com.mx/public_html] does not exist 
Warning: DocumentRoot [/home/u80030/domains/elesdfo.com.mx/public_html/raptor] does not exist 
Warning: DocumentRoot [/home/siecweb/domains/sidsdeb.net/public_html/clasesdenatacionsl] does not exist 
Warning: DocumentRoot [/home/siecweb/domains/snirterwebi.net/public_html/cursosaquahod] does not exist 
Warning: DocumentRoot [/home/arrietad/domains/arsdfr.com.mx/public_html] does not exist

How can I remove these warnings? Can I do this by a script?

link|improve this question

20% accept rate
feedback

1 Answer

These warnings just mean that you've got some VirtualHosts set up with a DocumentRoot pointing to a non-existent directory; you should just remove the VirtualHosts from your Apache configuration.

How that's done depends on your configuration; I get the impression that you haven't set these up manually yourself, are you using some kind of control-panel to manage these sites?

link|improve this answer
yes, its a directadmin server – Ajo Augustine Apr 1 '11 at 14:49
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.