I have a web server running Ubuntu 17.04 that I am attempting to set up with Apache
. Everything ran great until I decided to host two websites on a single machine through virtualHosts. Now apache
refuses to start up with even a single host enabled. Each time I attempt to start Apache
I get this error:
apache2: Syntax error on line 80 of /etc/apache2/apache2.conf:
DefaultRuntimeDir must be a valid directory, absolute or relative to ServerRoot.
None of my attempts to fix this have come to anything including:
apt purge apache2 && rm -r /etc/apache2
All line 80 of the error message tells me is DefaultRuntimeDir ${APACHE_RUN_DIR}
.
And at no time do I see where or what APACHE_RUN_DIR
is declared as.
Can someone help me out?