From 9a07f307a7c0ef967be44c83f94d0250d60d5d81 Mon Sep 17 00:00:00 2001 From: Elizabeth Krumbach Date: Wed, 7 Aug 2013 22:14:02 -0700 Subject: [PATCH] Update httpd log directory in template for git.o.o The ${APACHE_LOG_DIR} isn't expanding as I had expected on the CentOS server, updating to default CentOS apache log directory. Change-Id: I8fc6ee5084e2ef69be9e888473155c865bdbdfd0 --- modules/cgit/templates/git.vhost.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/cgit/templates/git.vhost.erb b/modules/cgit/templates/git.vhost.erb index 91dc5eb1c2..b883c67b4f 100644 --- a/modules/cgit/templates/git.vhost.erb +++ b/modules/cgit/templates/git.vhost.erb @@ -2,11 +2,11 @@ ServerName <%= scope.lookupvar("cgit::vhost_name") %> ServerAdmin <%= scope.lookupvar("cgit::serveradmin") %> - ErrorLog ${APACHE_LOG_DIR}/git-error.log + ErrorLog /var/log/httpd/git-error.log LogLevel warn - CustomLog ${APACHE_LOG_DIR}/git-access.log combined + CustomLog /var/log/httpd/git-access.log combined Redirect / https://<%= scope.lookupvar("cgit::vhost_name") %>/ @@ -22,11 +22,11 @@ RewriteEngine On RewriteRule ^/$ /cgit [R] - ErrorLog ${APACHE_LOG_DIR}/git-error.log + ErrorLog /var/log/httpd/git-error.log LogLevel warn - CustomLog ${APACHE_LOG_DIR}/git-access.log combined + CustomLog /var/log/httpd/git-access.log combined SSLEngine on