~ubuntu-branches/ubuntu/maverick/lire/maverick

« back to all changes in this revision

Viewing changes to doc/user-manual/ch16.html

  • Committer: Bazaar Package Importer
  • Author(s): Joost van Baal
  • Date: 2006-11-02 15:30:00 UTC
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20061102153000-343pa15n0rp58m1b
Tags: upstream-2.0.2
Import upstream version 2.0.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�16.�WWW Supported Log Format</title><meta name="generator" content="DocBook XSL Stylesheets V1.64.1"><link rel="home" href="index.html" title="Lire User's Manual"><link rel="up" href="pt02.html" title="Part�II.�Log Formats"><link rel="previous" href="ch15.html" title="Chapter�15.�Syslog Supported Log Formats"><link rel="next" href="ch16s02.html" title="Combined Log Format"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�16.�WWW Supported Log Format</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch15.html">Prev</a>�</td><th width="60%" align="center">Part�II.�Log Formats</th><td width="20%" align="right">�<a accesskey="n" href="ch16s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="chap:www-logs"></a>Chapter�16.�WWW Supported Log Format</h2></div></div><div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch16.html#id2509099">Common Log Format</a></span></dt><dt><span class="section"><a href="ch16s02.html">Combined Log Format</a></span></dt><dt><span class="section"><a href="ch16s03.html">CLF With mod_gzip Extensions</a></span></dt><dt><span class="section"><a href="ch16s04.html">Referer Log Format</a></span></dt><dt><span class="section"><a href="ch16s05.html">Logs With Virtual Host Information</a></span></dt><dt><span class="section"><a href="ch16s06.html">W3C Extended Log Format</a></span></dt></dl></div><p>The WWW superservice supports four log file formats which
 
1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Chapter�16.�WWW Supported Log Format</title><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="Lire User's Manual"><link rel="up" href="pt02.html" title="Part�II.�Log Formats"><link rel="prev" href="ch15.html" title="Chapter�15.�Syslog Supported Log Formats"><link rel="next" href="ch16s02.html" title="Combined Log Format"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Chapter�16.�WWW Supported Log Format</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch15.html">Prev</a>�</td><th width="60%" align="center">Part�II.�Log Formats</th><td width="20%" align="right">�<a accesskey="n" href="ch16s02.html">Next</a></td></tr></table><hr></div><div class="chapter" lang="en"><div class="titlepage"><div><div><h2 class="title"><a name="chap:www-logs"></a>Chapter�16.�WWW Supported Log Format</h2></div></div></div><div class="toc"><p><b>Table of Contents</b></p><dl><dt><span class="section"><a href="ch16.html#id2523395">Common Log Format</a></span></dt><dt><span class="section"><a href="ch16s02.html">Combined Log Format</a></span></dt><dt><span class="section"><a href="ch16s03.html">CLF With mod_gzip Extensions</a></span></dt><dt><span class="section"><a href="ch16s04.html">Referer Log Format</a></span></dt><dt><span class="section"><a href="ch16s05.html">Logs With Virtual Host Information</a></span></dt><dt><span class="section"><a href="ch16s06.html">W3C Extended Log Format</a></span></dt></dl></div><p>The WWW superservice supports four log file formats which
2
2
        makes it possible to support a wide range of web servers
3
3
        like <span class="productname">Apache</span>&#8482;, IIS or <span class="productname">Boa</span>&#8482;.
4
 
      </p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2509099"></a>Common Log Format</h2></div></div><div></div></div><p>Common Log Format (<span class="acronym">CLF</span>) is a standard log 
 
4
      </p><div class="section" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id2523395"></a>Common Log Format</h2></div></div></div><p>Common Log Format (<span class="acronym">CLF</span>) is a standard log 
5
5
            format that was
6
6
          originally implemented in the CERN httpd web server but
7
7
          that is supported nowadays by most web servers. <span class="productname">Apache</span>&#8482;,
9
9
        </p><p>The Common Log Format has the following format:
10
10
 
11
11
          </p><pre class="literallayout">
12
 
<i class="parameter"><tt>remotehost</tt></i> <i class="parameter"><tt>rfc931</tt></i> <i class="parameter"><tt>authuser</tt></i> [<i class="parameter"><tt>date</tt></i>] "<i class="parameter"><tt>request</tt></i>" <i class="parameter"><tt>status</tt></i> <i class="parameter"><tt>bytes</tt></i>
 
12
<em class="parameter"><code>remotehost</code></em> <em class="parameter"><code>rfc931</code></em> <em class="parameter"><code>authuser</code></em> [<em class="parameter"><code>date</code></em>] "<em class="parameter"><code>request</code></em>" <em class="parameter"><code>status</code></em> <em class="parameter"><code>bytes</code></em>
13
13
          </pre><p>
14
14
 
15
15
          where the fields have the following meaning:
16
16
 
17
 
          </p><div class="variablelist"><dl><dt><span class="term"><i class="parameter"><tt>remotehost</tt></i></span></dt><dd><p>The host that made the request. This can be given as 
 
17
          </p><div class="variablelist"><dl><dt><span class="term"><em class="parameter"><code>remotehost</code></em></span></dt><dd><p>The host that made the request. This can be given as 
18
18
                      an IP address or a hostname.
19
 
                </p></dd><dt><span class="term"><i class="parameter"><tt>rfc931</tt></i></span></dt><dd><p>The result of an ident lookup on the host.
 
19
                </p></dd><dt><span class="term"><em class="parameter"><code>rfc931</code></em></span></dt><dd><p>The result of an ident lookup on the host.
20
20
                  This is usually not used.
21
 
                </p></dd><dt><span class="term"><i class="parameter"><tt>authuser</tt></i></span></dt><dd><p>The authenticated username.</p></dd><dt><span class="term"><i class="parameter"><tt>date</tt></i></span></dt><dd><p>The timestamp of the request.</p></dd><dt><span class="term"><i class="parameter"><tt>request</tt></i></span></dt><dd><p>The first line of the HTTP request. Usually in the format 
22
 
                  <tt class="computeroutput">"<i class="parameter"><tt>method</tt></i> <i class="parameter"><tt>file</tt></i> <i class="parameter"><tt>protocol</tt></i>"</tt>.
23
 
                </p></dd><dt><span class="term"><i class="parameter"><tt>status</tt></i></span></dt><dd><p>The result status of the request. i.e.
24
 
                  <tt class="literal">200</tt>, <tt class="literal">301</tt>,
25
 
                  <tt class="literal">404</tt>, <tt class="literal">500</tt>.
26
 
                </p></dd><dt><span class="term"><i class="parameter"><tt>bytes</tt></i></span></dt><dd><p>The size of the response sent back to the client.</p></dd></dl></div><p>
 
21
                </p></dd><dt><span class="term"><em class="parameter"><code>authuser</code></em></span></dt><dd><p>The authenticated username.</p></dd><dt><span class="term"><em class="parameter"><code>date</code></em></span></dt><dd><p>The timestamp of the request.</p></dd><dt><span class="term"><em class="parameter"><code>request</code></em></span></dt><dd><p>The first line of the HTTP request. Usually in the format 
 
22
                  <code class="computeroutput">"<em class="parameter"><code>method</code></em> <em class="parameter"><code>file</code></em> <em class="parameter"><code>protocol</code></em>"</code>.
 
23
                </p></dd><dt><span class="term"><em class="parameter"><code>status</code></em></span></dt><dd><p>The result status of the request. i.e.
 
24
                  <code class="literal">200</code>, <code class="literal">301</code>,
 
25
                  <code class="literal">404</code>, <code class="literal">500</code>.
 
26
                </p></dd><dt><span class="term"><em class="parameter"><code>bytes</code></em></span></dt><dd><p>The size of the response sent back to the client.</p></dd></dl></div><p>
27
27
        </p><p>Example of log lines in Common Log Format :
28
28
 
29
29
          </p><pre class="literallayout">