Counting www server hits
Chuck Bearden
cbearden at sparc.hpl.lib.tx.us
Tue Sep 2 13:25:26 EDT 1997
A couple of quick questions regarding interpretation of Apache logs
for counting hits on our server.
First, how do you all out there treat successful HEAD requests for
the purpose of reporting numbers of hits? From the rfcs it looks to
me as if they probably aren't reqests for documents, as it seems to
me that GET's returning a 304 (not modified) are.
Second, I have a few lines in last month's access_log like this:
198.65.99.64 - - [25/Aug/1997:20:37:50 -0500] "-" 200 -
where the part that normally specifies the URL and the method is
just a "-". I find reference to this notation in the rfc for HTTP
1.1, but I don't yet know enough about the protocol to really fit
this in to understand what was requested (and, apparently,
successfully provided).
By contrast, a more typical line looks like this:
198.65.98.156 - - [31/Aug/1997:20:34:26 -0500] "GET /hpl/hplc.html
HTTP/1.0" 200 748
with the method (GET), the URL, and the HTTP version in quotes.
Thanks in advance for any help.
Chuck
-------------------------------------------------------------
Chuck Bearden
email: cbearden at hpl.lib.tx.us
Network Services Librarian
Automation Department voice: 713/247-2264
Houston Public Library fax: 713/247-1182
500 McKinney Ave.
Houston, TX 77002
-------------------------------------------------------------
-=>HPL's Homepage: http://www.hpl.lib.tx.us<=-
More information about the Web4lib
mailing list