Why did my DocumentRoot change?
- by Josh K
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.