From 6d92b24ea201727197ef521db2ff266f4701018e Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 18 Oct 2006 12:23:09 +0000 Subject: make awstats webstat links git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@193 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede --- bin/ldap2apache | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/ldap2apache b/bin/ldap2apache index 88fcfc7..590e203 100755 --- a/bin/ldap2apache +++ b/bin/ldap2apache @@ -130,7 +130,12 @@ clients.each{ |c| config << " ServerSignature On" config << "" # webstats - config << " Alias " + @webstat_location + " " + @rmagicdir + "/" + server_name + "/" + config << " # Alias " + @webstat_location + " " + @rmagicdir + "/" + server_name + "/" + config << ' Alias /awstats-classes/ "/usr/share/awstats/classes/"' + config << ' Alias /awstats-css/ "/usr/share/awstats/css/"' + config << ' Alias /awstats-icon/ "/usr/share/awstats/icon/"' + config << " ScriptAlias /cgi-stats/awstats.pl /usr/lib/cgi-bin/awstats.pl" + config << " Redirect permanent " + @webstat_location + " http://"+server_name+"/cgi-stats/awstats.pl" config << "" unless property['php'] == "no" config << " php_admin_value engine 1" -- cgit v1.2.3