/usr/share/doc/lire/user-manual/ch16.html is in lire-doc 2:2.1.1-2.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 | <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.75.2"><link rel="home" 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" title="Chapter 16. WWW Supported Log Format"><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#id384520">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
makes it possible to support a wide range of web servers
like <span class="productname">Apache</span>™, IIS or <span class="productname">Boa</span>™.
</p><div class="section" title="Common Log Format"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id384520"></a>Common Log Format</h2></div></div></div><p>Common Log Format (<acronym class="acronym">CLF</acronym>) is a standard log
format that was
originally implemented in the CERN httpd web server but
that is supported nowadays by most web servers. <span class="productname">Apache</span>™,
IIS and <span class="productname">Boa</span>™ can be configured to log in that format.
</p><p>The Common Log Format has the following format:
</p><pre class="literallayout">
<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>
</pre><p>
where the fields have the following meaning:
</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
an IP address or a hostname.
</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.
This is usually not used.
</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
<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>.
</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.
<code class="literal">200</code>, <code class="literal">301</code>,
<code class="literal">404</code>, <code class="literal">500</code>.
</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>
</p><p>Example of log lines in Common Log Format :
</p><pre class="literallayout">
127.0.01 - - [11/03/2001 12:12:01 -0400] "GET / HTTP/1.0" 200 513
dsl1.myprovider.com - francis [11/03/2001 12:14:01 -0400] \
"GET /secret/ HTTP/1.0" 200 1256
</pre><p>
</p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch15.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="pt02.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch16s02.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter 15. Syslog Supported Log Formats </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Combined Log Format</td></tr></table></div></body></html>
|