diff options
author | Peter Palfrader <peter@palfrader.org> | 2014-09-11 21:27:16 +0200 |
---|---|---|
committer | Peter Palfrader <peter@palfrader.org> | 2014-09-11 21:27:16 +0200 |
commit | a05d75c745274c18335313bd00b2daa91b2df28d (patch) | |
tree | 1f67c4cbfdcfb0bbc7b69fa43fcbb45b105e5181 | |
parent | 43bac9ac268472e5e9e139d9eeadf5ca99e1fe5b (diff) |
Log to /var/log/apache2 now
-rwxr-xr-x | bin/ldap2apache | 6 |
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 << "" |