iTP Secure WebServer System Administrator's Guide (iTPWebSvr 6.0+)
Server Log File Formats
iTP Secure WebServer System Administrator’s Guide—523346-002
C-2
Example
Table C-1 describes the fields that can appear in an access log entry.
Example
The following example shows typical entries in the access log file:
150.180.13.54 - - [24/Jan/1995:12:27:13 -0500] "GET /dirsite.gif
HTTP/1.0" 200 7114
quinton.jax.org - - [24/Jan/1995:12:27:14 -0500] "GET /
HTTP/1.0" 200 1280
tucano.cv.com - - [24/Jan/1995:12:27:16 -0500] "POST
/dir/search.cgi HTTP/1.0" 200 15691
Table C-1. Access Log Fields
Field Description
hostname Gives the host name of the web client making a request. If the web
client’s host name is not available (from the Domain Name Server), the
server reports the web client’s IP address instead.
- Reports the web client user name as identified by the Internet
Authentication Protocol (as defined in RFC 931). The server does not
support the web client user-name field; it fills this field with a single
hyphen (-).
To see RFC 931, use the following URL:
http://www.cis.ohio-state.edu/htbin/rfc/rfc931.html
username Reports the user name that the user entered (together with a password)
to gain access. If the user did not enter a user name, or did not enter a
valid user name, this field is filled with a hyphen (-).
time Reports the time of the request in Universal Coordinated Time (UTC,
also known as Greenwich Mean Time, or GMT). The last component in
this field specifies the offset, in hours and minutes, between the server’s
local time and UTC.
request Reports the web client’s request. For example:
GET /dirsite.gif HTTP/1.0
The request field consists of the following items:
•
The HTTP method: Typically the method is GET, POST, or HEAD; in
this case, it is GET.
•
The URL that is being accessed: In this case, /dirsite.gif.
•
The web client’s protocol version: In this case, HTTP/1.0.
HTTP-status Reports the HTTP status code returned to the web client. 200 indicates a
normal result (completed without error). For a complete list of the other
possible status codes, see Table C-2
.
bytes-sent Reports the number of bytes sent to the web client.