I am trying to debug some weird behaviour on an apache 2.4 install on Ubuntu 14.04 server.
I notice if I remove all virtual hosts and additional configurations by commenting out their IncludeOptional
lines from the apache.conf
config file, e.g.
File: /etc/apache2/apache2.conf
# DISABLE generic snippets of statements
# IncludeOptional conf-enabled/*.conf
# DISABLE the virtual host configurations:
# IncludeOptional sites-enabled/*.conf
(Then restart apache)
If I browse to the server apache will still serve content from /var/www
.
My question is, how or where is apache being "told" to use that as a document root?
- is it some ultimate fall back
DocumentRoot
that is compiled into apache itself? - Ive looked in the apache configuration files and I can't find any
DocumentRoot = /var/www
directives?