summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2014-09-11 21:27:16 +0200
committerPeter Palfrader <peter@palfrader.org>2014-09-11 21:27:16 +0200
commita05d75c745274c18335313bd00b2daa91b2df28d (patch)
tree1f67c4cbfdcfb0bbc7b69fa43fcbb45b105e5181 /bin
parent43bac9ac268472e5e9e139d9eeadf5ca99e1fe5b (diff)
Log to /var/log/apache2 now
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ldap2apache6
1 files 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 << " </IfModule>"
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 << ""