Score:0

AH00112: Warning: DocumentRoot [/html/www/html] does not exist

us flag

when I do

cd /etc/apache2/
apache2ctl configtest

I get this:

AH00112: Warning: DocumentRoot [/html/www/html] does not exist

Where can I find that line, so I can change it?

Score:1
fr flag

Actually, it's just a warning not an error, and you can ignore it. It's happened if you define DocumentRoot in the virtual host to not existed path. If you want to remove that warning, just find the virtualhost that point to that directory. Usually /etc/apache2/sites-enabled/000-default.conf contain like below:

<VirtualHost *:80>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

</VirtualHost>

just change DocumentRoot /var/www/html to the correct path, or just remove that virtualhost.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.