summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ldap2apache2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ldap2apache b/bin/ldap2apache
index 1231ed1..09bb71a 100755
--- a/bin/ldap2apache
+++ b/bin/ldap2apache
@@ -234,7 +234,7 @@ clients.each{ |c|
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 / /cgi-stats/awstats.pl"
+ config << " Redirect permanent / http://stats.#{server_name}/cgi-stats/awstats.pl"
config << "</VirtualHost>"
config << '# vim:ft=apache:'