From a05d75c745274c18335313bd00b2daa91b2df28d Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 11 Sep 2014 21:27:16 +0200 Subject: Log to /var/log/apache2 now --- bin/ldap2apache | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/bin/ldap2apache b/bin/ldap2apache index 2017448..b1f3859 100755 --- a/bin/ldap2apache +++ b/bin/ldap2apache @@ -230,9 +230,11 @@ clients.each{ |c| config << " " end config << " SuexecUserGroup #{vhostuidname} #{vhostgidname}" unless property['setusergroup'] == "no" - config << " ErrorLog #{client_home}/logs/#{server_name}-error.log" + #config << " ErrorLog #{client_home}/logs/#{server_name}-error.log" + #config << " CustomLog #{client_home}/logs/#{server_name}-access.log combined" + config << " ErrorLog /var/log/apache2/#{server_name}-error.log" + config << " CustomLog /var/log/apache2/#{server_name}-access.log privacy" config << " LogLevel warn" - config << " CustomLog #{client_home}/logs/#{server_name}-access.log combined" config << " ServerSignature On" config << "" config << "" -- cgit v1.2.3