Hello,

OS: Ubuntu 16.04, Apache version: 2.4.18 (latest Apache from default repository).

Command

sudo apache2 -M

writes spurious lines like this:

[Wed Jan 18 03:32:29.510875 2017] [core:warn] [pid 11564] AH00111: Config variable ${APACHE_LOG_DIR} is not defined

even though the mentioned variable *is* defined in /etc/apache2/envvars

If I load that file directly, i.e. via command like

. /etc/apache2/envvars

the above warning doesn't happen. Is there standard way to force apache2 loading its environment vars definition file automatically? The message is misleading and, AFAIK, it's never written in manuals that Apache only gets those definitions loaded if initscript/systemctl is executed.

Thanks.

Regards,
Konstantin

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to