]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
Renamed HTTP error codes into HTTP status code.
authoreldy <>
Fri, 12 Sep 2003 20:01:37 +0000 (20:01 +0000)
committereldy <>
Fri, 12 Sep 2003 20:01:37 +0000 (20:01 +0000)
wwwroot/cgi-bin/awstats.model.conf
wwwroot/cgi-bin/awstats.pl
wwwroot/cgi-bin/lang/awstats-en.txt
wwwroot/cgi-bin/lang/awstats-fr.txt

index 17081a26196771381a4e3cfa8b1433ae70621c6e..3440244a0d6df3613b456c2ce4c8433794ad1124 100644 (file)
@@ -500,9 +500,12 @@ NotPageList="css js class gif jpg jpeg png bmp ico"
 
 # By default, AWStats considers that records found in web log file are
 # successful hits if HTTP code returned by server is a valid HTTP code (200
-# and 304). Any other code are reported in HTTP error chart.
-# However in some specific environment, with web server HTTP redirection,
-# you can choose to also accept other codes.
+# and 304). Any other code are reported in HTTP status chart.
+# Note that HTTP 'control codes', like redirection (302, 305) are not added by
+# default in this list as they are not pages seen by a visitor but are
+# protocol exchange codes to tell the browser to ask another page. Because
+# this other page will be counted and seen with a 200 or 304 code, if you 
+# add such codes, you will have 2 pages viewed reported for only one in facts.
 # Change : Effective for new updates only
 # Example: "200 304 302 305"
 # Default: "200 304"
index fbb0008a60cd4814124da12e365b435f545ee4aa..a6c98132a8bee1730d1538a7c6f1c3cedc434ea3 100644 (file)
@@ -581,7 +581,8 @@ use vars qw/ @Message /;
 'Size',
 'First',
 'Last',
-'Exclude filter'
+'Exclude filter',
+'* Codes shown here gave hits or traffic "not viewed" by visitors, so are isolated in this chart.'
 );
 
 
@@ -722,7 +723,9 @@ sub tab_head {
 # Return:              None
 #------------------------------------------------------------------------------
 sub tab_end {
+       my $string=shift;
        print "</TABLE></TD></TR></TABLE>";
+       if ($string) { print "$string<br>\n"; }
        print "<br>\n\n";
 }
 
@@ -5740,6 +5743,8 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') {  # Updat
                                next;   # Next log record
                        }
                }
+               elsif ($protocol == 2) {                                                # FTP record
+               }
 
                # Analyze: Robot
                #---------------
@@ -5776,6 +5781,7 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') {  # Updat
                }
 
                # Canonize and clean target URL and referrer URL
+               # to define urlwithnoquery, tokenquery and standalonequery and $field[$pos_url]
                #-----------------------------------------------
                if ($URLNotCaseSensitive) { $field[$pos_url] =~ tr/A-Z/a-z/; }
                if ($protocol == 2) { $field[$pos_url] =~ s/\s/%20/g; }
@@ -5812,7 +5818,6 @@ if ($UpdateStats && $FrameName ne 'index' && $FrameName ne 'mainleft') {  # Updat
                        $standalonequery=$2||'';
                }
                if ($URLWithAnchor && $anchor) { $field[$pos_url].="#$anchor"; }        # Restore anchor
-
                # Here now urlwithnoquery is /mydir/mypage.ext, /mydir, /, /page#XXX
                # Here now tokenquery is '' or '?' or ';'
                # Here now standalonequery is '' or 'param1=x'
@@ -9160,7 +9165,7 @@ if (scalar keys %HTMLOutput) {
                        &tab_end;
                }
        
-               # BY HTTP ERRORS
+               # BY HTTP STATUS
                #----------------------------
                if ($ShowHTTPErrorsStats) {
                        if ($Debug) { debug("ShowHTTPErrorsStats",2); }
@@ -9181,7 +9186,7 @@ if (scalar keys %HTMLOutput) {
                                $total_h+=$_errors_h{$key};
                                $count++;
                        }
-                       &tab_end;
+                       &tab_end($Message[154]);
                }
 
                # BY SMTP ERRORS
index c337a6ab7044e542772cbf7a7db58274ff54c767..c846b3b054ac993da1ab318367c20c182c9a2f45 100644 (file)
@@ -153,4 +153,5 @@ message149=Mails
 message150=Size
 message151=First
 message152=Last
-message153=Exclude filter
\ No newline at end of file
+message153=Exclude filter
+message154=* Codes shown here gave hits or traffic "not viewed" by visitors, so are isolated in this chart.
\ No newline at end of file
index 2c2947313a2a09e35aeb5c69ab5cb863022389f8..fc6117011cb99edb5be9e1ac1d7829f9d8ba3ceb 100644 (file)
@@ -153,4 +153,5 @@ message149=Mails
 message150=Taille
 message151=Premier
 message152=Dernier
-message153=Filtre exclusion
\ No newline at end of file
+message153=Filtre exclusion
+message154=* Les codes présentées ici sont à l'origine de hits ou de traffic "non vus" par les visiteurs, aussi sont ils isolés dans ce rapport.
\ No newline at end of file