connect-max per IP MP-632
[metaproxy-moved-to-github.git] / doc / http_file.xml
index 698ca08..eeb3113 100644 (file)
@@ -1,29 +1,43 @@
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" 
-    "http://www.oasis-open.org/docbook/xml/4.1/docbookx.dtd" [
+<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook V4.4//EN"
+    "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
  <!ENTITY copyright SYSTEM "copyright.xml">
+ <!ENTITY % idcommon SYSTEM "common/common.ent">
+     %idcommon;
 ]>
-<!-- $Id: http_file.xml,v 1.3 2006-04-24 12:50:24 marc Exp $ -->
-<refentry>
+<refentry id="ref-http_file">
+ <refentryinfo>
+  <productname>Metaproxy</productname>
+  <info><orgname>Index Data</orgname></info>
+ </refentryinfo>
+
  <refmeta>
   <refentrytitle>http_file</refentrytitle>
   <manvolnum>3mp</manvolnum>
-   <refmiscinfo>Metaproxy Module</refmiscinfo>
-</refmeta>
+  <refmiscinfo class="manual">Metaproxy Module</refmiscinfo>
+ </refmeta>
+
  <refnamediv>
   <refname>http_file</refname>
-  <refpurpose>network server</refpurpose>
+  <refpurpose>Metaproxy HTTP File Server Module</refpurpose>
  </refnamediv>
+
  <refsect1><title>DESCRIPTION</title>
   <para>
    This module enables file access via the HTTP protocol.
    All URLs with a given prefix are directed to a specific
-   documentroot (on local file storage). The module only serves
+   document root (on local file storage). The module only serves
    static content.
   </para>
  </refsect1>
+
+ <refsect1><title>SCHEMA</title>
+   <literallayout><xi:include
+                    xi:href="../xml/schema/filter_http_file.rnc"
+                    xi:parse="text"
+                    xmlns:xi="http://www.w3.org/2001/XInclude" />
+   </literallayout>
+ </refsect1>
+
  <refsect1><title>EXAMPLES</title>
   <para>
    A typical configuration looks like this:
    <filter type="http_file">
     <mimetypes>/etc/mime.types</mimetypes>
     <area>
-     <documentroot>/var/www/metaproxy/html</port>
-     <prefix>/etc</prefixs>
+     <documentroot>/var/www/metaproxy/html</documentroot>
+     <prefix>/etc</prefix>
     </area>
    </filter>
 ]]>
    </screen>
   </para>
- </refsect1> 
+ </refsect1>
+
  <refsect1><title>SEE ALSO</title>
   <para>
    <citerefentry>
    </citerefentry>
   </para>
  </refsect1>
+
  &copyright;
 </refentry>
 
-<!-- Keep this Emacs mode comment at the end of the file
+<!-- Keep this comment at the end of the file
 Local variables:
 mode: nxml
+nxml-child-indent: 1
 End:
 -->
-