Kent West wrote: 
> But if I disable 000-default.conf, by running a2dissite 000-default (and
> verify that the sites-enabled dir is empty), the default web page is still
> served up. I would have expected that to have broken the web-server,
> preventing it from being able to serve the default web page (from
> /var/www/html). The only thing I can think of to explain this is that
> /var/www/html must be hard-coded in the Apache2 source as the DocumentRoom.
> 
> Can anyone confirm/deny this, and/or explain why my Apache2 server is not
> broken if I don't have any sites in the sites-available directory and the
> main conf file does not specify the DocumentRoot?

The default DocumentRoot is set at compile time. The one from
the factory is  DocumentRoot "/usr/local/apache/htdocs". Debian
sets it to /var/www/html, and previously set it to /var/www.

-dsr-

Reply via email to