]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
awstatsicon renamed into awstatsicons
authoreldy <>
Sat, 14 Aug 2004 15:35:04 +0000 (15:35 +0000)
committereldy <>
Sat, 14 Aug 2004 15:35:04 +0000 (15:35 +0000)
wwwroot/cgi-bin/awstats.model.conf
wwwroot/cgi-bin/awstats.pl
wwwroot/css/awstats_default.css

index 4b3717d0963ccd5764ac9bca5127f92b04603df2..d7ae69d45fe556301f0a49ff8c0942d77da31486 100644 (file)
@@ -208,7 +208,7 @@ DirCgi="/cgi-bin"
 # Relative or absolute web URL of your awstats icon directory.
 # If you build static reports ("... -output > outputpath/output.html"), enter
 # path of icon directory relative to the output directory 'outputpath'.
-# Example: "/awstatsicon"
+# Example: "/awstatsicons"
 # Example: "../icon"
 # Default: "/icon" (means you must copy icon directories in "/mywwwroot/icon")
 #
index 0b80ed53199d3809c9198173ce6d09d4898180f6..4bdf0290e2807d50fe92341524f2ebf2c655b83a 100644 (file)
@@ -6303,6 +6303,7 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') {  # Updat
                                $_errors_k{$field[$pos_code]}+=int($field[$pos_size]);
                                foreach my $code (keys %TrapInfosForHTTPErrorCodes) {
                                        if ($field[$pos_code] == $code) {
+                                               # This is an error code which referrer need to be tracked
                                                my $newurl=substr($field[$pos_url],0,$MaxLengthOfStoredURL);
                                                $newurl =~ s/[$URLQuerySeparators].*$//;
                                                $_sider404_h{$newurl}++;
@@ -6839,7 +6840,7 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') {  # Updat
                                                                                        if ($param =~ s/^$SearchEnginesKnownUrl{$TmpRefererServer{$refererserver}}//) {
                                                                                                # We found good parameter
                                                                                                # Now param is keyphrase: "cache:mmm:www/zzz+aaa+bbb/ccc+ddd%20eee'fff,ggg"
-                                                                                               $param =~ s/^(cache|related):[^\+]+//;  # Should ne useless since this is for hit on 'not pages'
+                                                                                               $param =~ s/^(cache|related):[^\+]+//;  # Should be useless since this is for hit on 'not pages'
                                                                                                &ChangeWordSeparatorsIntoSpace($param); # Change [ aaa+bbb/ccc+ddd%20eee'fff,ggg ] into [ aaa bbb/ccc ddd eee fff ggg]
                                                                                                $param =~ s/^ +//; $param =~ s/ +$//; $param =~ tr/ /\+/s;
                                                                                                if ((length $param) > 0) { $_keyphrases{$param}++; }
@@ -6858,7 +6859,7 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') {  # Updat
                                                                                        # We found good parameter
                                                                                        $param =~ s/.*=//;
                                                                                        # Now param is keyphrase: "aaa+bbb/ccc+ddd%20eee'fff,ggg"
-                                                                                       $param =~ s/^(cache|related):[^\+]+//;          # Should ne useless since this is for hit on 'not pages'
+                                                                                       $param =~ s/^(cache|related):[^\+]+//;          # Should be useless since this is for hit on 'not pages'
                                                                                        &ChangeWordSeparatorsIntoSpace($param);         # Change [ aaa+bbb/ccc+ddd%20eee'fff,ggg ] into [ aaa bbb/ccc ddd eee fff ggg ]
                                                                                        $param =~ s/^ +//; $param =~ s/ +$//; $param =~ tr/ /\+/s;
                                                                                        if ((length $param) > 2) { $_keyphrases{$param}++; last; }
index 99c7b7f4b37c72e0c8b306f8d358a67ef8643556..6eb99de20a68200062ea77053ac155ec5069748f 100644 (file)
@@ -1,5 +1,5 @@
 body { font: 11px verdana, arial, helvetica, sans-serif; background-color: #FFFFFF; margin-top: 0 }
-.aws_bodyl { background-image: url(/icon/other/backleft.png); background-repeat: repeat-y; }
+.aws_bodyl { background-image: url(/awstatsicons/other/backleft.png); background-repeat: repeat-y; }
 .aws_border { background-color: #CCCCDD; padding: 1px 1px 1px 1px; margin-top: 0 }
 .aws_title  { font: 13px verdana, arial, helvetica, sans-serif; font-weight: bold; background-color: #CCCCDD; text-align: center; margin-bottom: 0; padding: 1px 1px 1px 1px; }
 .aws_blank { font: 13px verdana, arial, helvetica, sans-serif; background-color: #FFFFFF; text-align: center; margin-bottom: 0; padding: 1px 1px 1px 1px; }