From 7879a57e0068c9860348052c4db105702f89ec8a Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Thu, 11 Sep 2014 21:27:22 +0200 Subject: Default to no stats --- bin/ldap2apache | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/ldap2apache b/bin/ldap2apache index b1f3859..707a1c2 100755 --- a/bin/ldap2apache +++ b/bin/ldap2apache @@ -349,7 +349,7 @@ clients.each{ |c| config << " #{addto}" if addto # # webstats, part I - proxy to our second webserver - unless property['stats'] == "no" + if property['stats'] == "yes" config << ' Alias /awstats-classes/ "/usr/share/awstats/classes/"' config << ' Alias /awstats-css/ "/usr/share/awstats/css/"' config << ' Alias /awstats-icon/ "/usr/share/awstats/icon/"' @@ -387,7 +387,7 @@ clients.each{ |c| end # # webstats, part II - we need our own vhost since we can't have suexec enabled - unless property['stats'] == "no" + if property['stats'] == "yes" config = [''] config << "" config << " ServerName #{server_name}" -- cgit v1.2.3