]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Better installer.
authoreldy <>
Mon, 10 Nov 2003 19:28:45 +0000 (19:28 +0000)
committereldy <>
Mon, 10 Nov 2003 19:28:45 +0000 (19:28 +0000)
tools/configure.pl

index c1eb16e79c3902b32d2b655f709577fe90a910c6..44b003f9a7378a5ed39a1dc750e42575a2ab2326 100644 (file)
@@ -401,20 +401,20 @@ foreach my $key (keys %ApacheConfPath) {
                print CONF "# Directives to allow use of AWStats as a CGI$CR\n";
                print CONF "#$CR\n";
                if (! $awstatsclassesfound) {
-                       print " Add 'Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH/\"' to config file\n";
-                       print CONF "Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH/$CR\n";
+                       print "  Add 'Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH\/\"' to config file\n";
+                       print CONF "Alias \/awstatsclasses \"$AWSTATS_CLASSES_PATH\/\"$CR\n";
                }
                if (! $awstatscssfound) {
-                       print " Add 'Alias \/awstatscss \"$AWSTATS_CSS_PATH/\"' to config file\n";
-                       print CONF "Alias \/awstatscss \"$AWSTATS_CSS_PATH/$CR\n";
+                       print "  Add 'Alias \/awstatscss \"$AWSTATS_CSS_PATH\/\"' to config file\n";
+                       print CONF "Alias \/awstatscss \"$AWSTATS_CSS_PATH\/\"$CR\n";
                }
                if (! $awstatsiconsfound) {
-                       print " Add 'Alias \/awstatsicons \"$AWSTATS_ICON_PATH/\"' to config file\n";
-                       print CONF "Alias \/awstatsicons \"$AWSTATS_ICON_PATH/$CR\n";
+                       print "  Add 'Alias \/awstatsicons \"$AWSTATS_ICON_PATH\/\"' to config file\n";
+                       print CONF "Alias \/awstatsicons \"$AWSTATS_ICON_PATH\/\"$CR\n";
                }
                if (! $awstatscgifound) {
-                       print " Add 'ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH/\"' to config file\n";
-                       print CONF "ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH/$CR\n";
+                       print "  Add 'ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH\/\"' to config file\n";
+                       print CONF "ScriptAlias \/awstats\/ \"$AWSTATS_CGI_PATH\/\"$CR\n";
                }
        close CONF;
        $UseAlias=1;
@@ -440,7 +440,7 @@ my $site=$bidon;
 # -----------------------
 my $configfile='';
 my $modelfile='';
-if ($OS eq 'linux')    { $modelfile="$AWSTATS_MODEL_CONFIG"; $configfile='/etc/awstats/awstats.$site.conf'; }
+if ($OS eq 'linux')    { $modelfile="$AWSTATS_MODEL_CONFIG"; $configfile="/etc/awstats/awstats.$site.conf"; }
 if ($OS eq 'windows')  { $modelfile="$AWSTATS_PATH\\wwwroot\\cgi-bin\\awstats.model.conf"; $configfile="$AWSTATS_PATH\\wwwroot\\cgi-bin\\awstats.$site.conf"; }
 
 # Update model config file
@@ -512,7 +512,7 @@ if ($OS eq 'windows') {
 }
 if ($OS eq 'linux') {
        print "Sorry, programming update is not supported yet.\n";
-       print "You can to it manually by adding the following line to your crontab\n";
+       print "You can do it manually by adding the following line to your crontab\n";
        print "$AWSTATS_CGI_PATH/awstats -update -config=$site\n";
        print "Or if you have several config files and prefer having only one command:\n";
        print "$AWSTATS_TOOLS_PATH/awstats_updateall.pl now\n";