This file is indexed.

/usr/share/doc/lire/user-manual/ch16s05.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
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Logs With Virtual Host Information</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="ch16.html" title="Chapter 16. WWW Supported Log Format"><link rel="prev" href="ch16s04.html" title="Referer Log Format"><link rel="next" href="ch16s06.html" title="W3C Extended 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">Logs With Virtual Host Information</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch16s04.html">Prev</a> </td><th width="60%" align="center">Chapter 16. WWW Supported Log Format</th><td width="20%" align="right"> <a accesskey="n" href="ch16s06.html">Next</a></td></tr></table><hr></div><div class="section" title="Logs With Virtual Host Information"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="id385028"></a>Logs With Virtual Host Information</h2></div></div></div><p>You may encounter log files that have a field
          containing the virtual host for which the requests was at
          the beginning of the line. The rest of the line is usually
          in the common or combined log format. This kind of logging
          is typically seen on webservers hosting several virtual
          servers.
        </p><p>Example of such a line:
          </p><pre class="literallayout">
www.example.com 1.7.2.21 - - [13/Oct/2000:10:30:16 +0200] \
  "GET / HTTP/1.0" 200 83
          </pre><p>
        </p><p>Although <span class="application">Lire</span> doesn't directly support such logs, it
          is easy to split those logs into many log files in the
          common or combined log format which can subsequently be
          processed by <span class="application">Lire</span>.
        </p><p>Example doing this in a shell:

          </p><pre class="screen">
<code class="prompt">$ </code> mkdir apache-common.log
<code class="prompt">$ </code> (while read virt rest; do echo $rest &gt;&gt; \
apache-common.log/$virt; done) &lt; /var/log/apache/common.log
<code class="prompt">$ </code> for f in apache-common.log/*; do \
lr_log2mail -s "$f" common joe@example.com &lt; $f; done
          </pre><p>
        </p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch16s04.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="ch16.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="ch16s06.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Referer Log Format </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> W3C Extended Log Format</td></tr></table></div></body></html>