mod_cern_meta.html revision a63228693b052d21b055e13bb476f32973023924
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML>
<HEAD>
<TITLE>Module mod_cern_meta</TITLE>
</HEAD>
<BODY>
<!--#include virtual="header.html" -->
<H1>Apache module mod_cern_meta</h1>
This module is contained in the <code>mod_cern_meta.c</code> file, and
is not compiled in by default. It provides for CERN httpd metafile
semantics. It is only available in Apache 1.1 and later.
<h2>Summary</h2>
Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
headers that can be output in addition to the normal range of headers
for each file accessed. They appear rather like the Apache
.asis files, and are able to provide a crude way of influencing
the Expires: header, as well as providing other curiosities.
There are many ways to manage meta information, this one was
chosen because there is already a large number of CERN users
who can exploit this module.
<p>More information on the
<a href="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir
">CERN metafile semantics</a> is available.
<h2>Directives</h2>
<ul>
<li><A HREF="#metadir">MetaDir</A>
<li><A HREF="#metasuffix">MetaSuffix</A>
</ul>
<hr>
<A name="metadir"><h2>MetaDir</h2></A>
<strong>Syntax:</strong> MetaDir <em>directory name</em><br>
<strong>Default:</strong> <code>MetaDir .web</code><br>
<strong>Context:</strong> server config<br>
<strong>Status:</strong> Base<br>
<strong>Module:</strong> mod_cern_meta<br>
<strong>Compatibility:</strong> MetaDir is only available in Apache 1.1
and later.<p>
Specifies the name of the directory in which Apache can find
meta information files. The directory is usually a 'hidden'
subdirectory of the directory that contains the file being
accessed. Set to "<code>.</code>" to look in the same directory as the
file.
<A name="metadir"><h2>MetaSuffix</h2></A>
<strong>Syntax:</strong> MetaSuffix <em>suffix</em><br>
<strong>Default:</strong> <code>MetaSuffix .meta</code><br>
<strong>Context:</strong> server config<br>
<strong>Status:</strong> Base<br>
<strong>Module:</strong> mod_cern_meta<br>
<strong>Compatibility:</strong> MetaSuffix is only available in Apache 1.1
and later.<p>
Specifies 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>