You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Hillenbrink Vincent <vi...@sqr.nl> on 1998/07/02 11:40:25 UTC

general/2545: With DirectoryIndex, bytes sent in log is "-" in (too) many occasions

>Number:         2545
>Category:       general
>Synopsis:       With DirectoryIndex, bytes sent in log is "-" in (too) many occasions
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Jul  2 02:50:00 PDT 1998
>Last-Modified:
>Originator:     vincent@sqr.nl
>Organization:
apache
>Release:        1.2.6
>Environment:
SunOS horus 5.4 generic sun4m sparc
gcc version cygnus-2.0.2
>Description:
The following table shows all '200 HTTP OK' hits in a log file for a certain
period. Most 200s have a correct bytes sent value. With a DirectoryIndex file
(set to 'index.html') this is not always the case. I have briefly browsed
through the code, but was not able to find a relation between sending a
DirectoryIndex file or something else. The error log gives no futher info.
I've included the regexps used for filtering.

uri                             "200 [0-9]* "   "200 -"
--------------------------------------------------------------
index.htmls /.*/                22985           7389    - 32%
except indices /.*[^/]          422818          0       -  0%
html /[A-z0-9/]*\.html          16615           0       -  0%
gif /[A-z0-9/]*\.gif            69338           0       -  0%
 
specific index.htmls:
/en/company/                    18509           2262    - 12%
/en/home/                       10183           4923    - 48%
/en/ps/                         2279            591     - 26%
/en/ps/fleet/                   1368            155     - 11%
/en/sitemap/                    1088            281     - 26%
/en/contact/                    1075            193     - 18%
/en/wwo/                        750             137     - 18%

Searching for /[A-z0-9/]*/ in other access logs gives similar results.
>How-To-Repeat:
N/A
>Fix:
No.
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]