当我重新启动httpd服务时,我看到如下的一千个警告:
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
我怎样才能删除这些警告? 我可以通过脚本来做到这一点吗?
这些警告仅仅意味着你有一些VirtualHosts设置DocumentRoot指向一个不存在的目录; 您应该从Apacheconfiguration中删除VirtualHosts。
如何完成取决于你的configuration; 我得到的印象是,你没有自己手动设置,你是否使用某种控制面板来pipe理这些网站?