reversed to Emacs sgml mode
[metaproxy-moved-to-github.git] / doc / http_file.xml
1 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" 
2     "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
3  <!ENTITY copyright SYSTEM "copyright.xml">
4 ]>
5 <!-- $Id: http_file.xml,v 1.4 2006-04-25 12:48:52 marc Exp $ -->
6 <refentry>
7  <refmeta>
8   <refentrytitle>http_file</refentrytitle>
9   <manvolnum>3mp</manvolnum>
10    <refmiscinfo>Metaproxy Module</refmiscinfo>
11 </refmeta>
12  
13  <refnamediv>
14   <refname>http_file</refname>
15   <refpurpose>network server</refpurpose>
16  </refnamediv>
17  
18  <refsect1><title>DESCRIPTION</title>
19   <para>
20    This module enables file access via the HTTP protocol.
21    All URLs with a given prefix are directed to a specific
22    documentroot (on local file storage). The module only serves
23    static content.
24   </para>
25  </refsect1>
26  
27  <refsect1><title>EXAMPLES</title>
28   <para>
29    A typical configuration looks like this:
30    <screen><![CDATA[
31    <filter type="http_file">
32     <mimetypes>/etc/mime.types</mimetypes>
33     <area>
34      <documentroot>/var/www/metaproxy/html</port>
35      <prefix>/etc</prefixs>
36     </area>
37    </filter>
38 ]]>
39    </screen>
40   </para>
41  </refsect1> 
42  
43  <refsect1><title>SEE ALSO</title>
44   <para>
45    <citerefentry>
46     <refentrytitle>metaproxy</refentrytitle>
47     <manvolnum>1</manvolnum>
48    </citerefentry>
49   </para>
50  </refsect1>
51  
52  &copyright;
53 </refentry>
54
55 <!-- Keep this comment at the end of the file
56 Local variables:
57 mode: sgml
58 sgml-omittag:t
59 sgml-shorttag:t
60 sgml-minimize-attributes:nil
61 sgml-always-quote-attributes:t
62 sgml-indent-step:1
63 sgml-indent-data:t
64 sgml-parent-document:nil
65 sgml-local-catalogs: nil
66 sgml-namecase-general:t
67 End:
68 -->