From: eldy <> Date: Sat, 14 Aug 2004 15:35:04 +0000 (+0000) Subject: awstatsicon renamed into awstatsicons X-Git-Tag: AWSTATS_6_3_RELEASE~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f01f0bacd8d87cca079f89ead093280a178b4f60;p=thirdparty%2FAWStats.git awstatsicon renamed into awstatsicons --- diff --git a/wwwroot/cgi-bin/awstats.model.conf b/wwwroot/cgi-bin/awstats.model.conf index 4b3717d0..d7ae69d4 100644 --- a/wwwroot/cgi-bin/awstats.model.conf +++ b/wwwroot/cgi-bin/awstats.model.conf @@ -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") # diff --git a/wwwroot/cgi-bin/awstats.pl b/wwwroot/cgi-bin/awstats.pl index 0b80ed53..4bdf0290 100644 --- a/wwwroot/cgi-bin/awstats.pl +++ b/wwwroot/cgi-bin/awstats.pl @@ -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; } diff --git a/wwwroot/css/awstats_default.css b/wwwroot/css/awstats_default.css index 99c7b7f4..6eb99de2 100644 --- a/wwwroot/css/awstats_default.css +++ b/wwwroot/css/awstats_default.css @@ -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; }