apache.conf.in: use ${APACHE_LOG_DIR} and nickname for log files
commite0e870443192d41c16d12a35a20076cd1292314a
authorKyle J. McKay <mackyle@gmail.com>
Sun, 25 Sep 2016 15:17:08 +0000 (25 08:17 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Sun, 25 Sep 2016 15:17:08 +0000 (25 08:17 -0700)
treeb163b21b3a307b607f7d21aed27a2a4aef4e02e3
parent28bc98b82ff67b095ad6ab00ef9a96bba111a957
apache.conf.in: use ${APACHE_LOG_DIR} and nickname for log files

Not all Apache installations set APACHE_LOG_DIR before running the
Apache server daemon, but many do and that's a far better choice than
just hard-coding an arbitrary directory in the example apache.conf.in
file.

Then instead of always calling the logs "repo-error.log" and
"repo-access.log" use @@nickname@@-{error,access}.log to create more
friendly names.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
apache.conf.in