mod_cern_meta.html revision 1e895b30bf4833c928334fad80fac8be169ab877
2N/A<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2N/A<HTML>
2N/A<HEAD>
2N/A<TITLE>Module mod_cern_meta</TITLE>
2N/A</HEAD>
2N/A
2N/A<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
2N/A<BODY
2N/A BGCOLOR="#FFFFFF"
2N/A TEXT="#000000"
2N/A LINK="#0000FF"
2N/A VLINK="#000080"
2N/A ALINK="#FF0000"
2N/A>
2N/A<!--#include virtual="header.html" -->
2N/A<H1 ALIGN="CENTER">Apache module mod_cern_meta</h1>
2N/A
2N/AThis module is contained in the <code>mod_cern_meta.c</code> file, and
2N/Ais not compiled in by default. It provides for CERN httpd metafile
2N/Asemantics. It is only available in Apache 1.1 and later.
2N/A
2N/A<h2>Summary</h2>
2N/A
2N/AEmulate the CERN HTTPD Meta file semantics. Meta files are HTTP
2N/Aheaders that can be output in addition to the normal range of headers
2N/Afor each file accessed. They appear rather like the Apache
2N/A.asis files, and are able to provide a crude way of influencing
2N/Athe Expires: header, as well as providing other curiosities.
2N/AThere are many ways to manage meta information, this one was
2N/Achosen because there is already a large number of CERN users
2N/Awho can exploit this module.
2N/A
2N/A<p>More information on the
2N/A<a href="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir
2N/A">CERN metafile semantics</a> is available.
2N/A
2N/A<h2>Directives</h2>
2N/A<ul>
2N/A<li><A HREF="#metadir">MetaDir</A>
2N/A<li><A HREF="#metasuffix">MetaSuffix</A>
2N/A</ul>
2N/A
2N/A<hr>
2N/A
2N/A<h2><A name="metadir">MetaDir</A></h2>
2N/A<strong>Syntax:</strong> MetaDir <em>directory name</em><br>
2N/A<strong>Default:</strong> <code>MetaDir .web</code><br>
2N/A<strong>Context:</strong> server config<br>
2N/A<strong>Status:</strong> Base<br>
2N/A<strong>Module:</strong> mod_cern_meta<br>
2N/A<strong>Compatibility:</strong> MetaDir is only available in Apache 1.1
2N/Aand later.<p>
2N/A
2N/ASpecifies the name of the directory in which Apache can find
2N/Ameta information files. The directory is usually a 'hidden'
2N/Asubdirectory of the directory that contains the file being
2N/Aaccessed. Set to "<code>.</code>" to look in the same directory as the
2N/Afile.
2N/A
2N/A<h2><A name="metasuffix">MetaSuffix</A></h2>
2N/A<strong>Syntax:</strong> MetaSuffix <em>suffix</em><br>
2N/A<strong>Default:</strong> <code>MetaSuffix .meta</code><br>
2N/A<strong>Context:</strong> server config<br>
2N/A<strong>Status:</strong> Base<br>
2N/A<strong>Module:</strong> mod_cern_meta<br>
2N/A<strong>Compatibility:</strong> MetaSuffix is only available in Apache 1.1
2N/Aand later.<p>
2N/A
2N/ASpecifies the file name suffix for the file containing the
meta information. For example, the default values for the two
directives will cause a request to <code>
DOCUMENT_ROOT/somedir/index.html</code> to look in
<code>DOCUMENT_ROOT/somedir/.web/index.html.meta</code> and will use
its contents to generate additional MIME header information.
<p>
<!--#include virtual="footer.html" -->
</BODY>
</HTML>