My document root (suddenly and unexpectedly) changed to /htdocs
from /var/www
. This happened after I restarted apache2.
The only thing I changed was the httpd.conf
file which now reads as follows:
<VirtualHost *>
ServerName hostname
UseCanonicalName ON
</VirtualHost>
I've greped through the entire /etc
directory looking for DocumentRoot
and they all say /var/www
.
I removed the 000-default
from sites-enabled
and replaced it with one that is named default
. Changing this back doesn't appear to have an effect.