Why did my DocumentRoot change?
Posted
by Josh K
on Server Fault
See other posts from Server Fault
or by Josh K
Published on 2010-05-01T04:17:23Z
Indexed on
2010/05/01
4:28 UTC
Read the original article
Hit count: 381
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
.
© Server Fault or respective owner