mod_cern_meta.html revision f9b3be308809978f797e0c57b296147532a4313c
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<HTML>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<HEAD>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<TITLE>Module mod_cern_meta</TITLE>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows</HEAD>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<BODY
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows BGCOLOR="#FFFFFF"
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows TEXT="#000000"
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows LINK="#0000FF"
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows VLINK="#000080"
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows ALINK="#FF0000"
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<!--#include virtual="header.html" -->
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<H1 ALIGN="CENTER">Apache module mod_cern_meta</H1>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsThis module is contained in the <CODE>mod_cern_meta.c</CODE> file, and
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsis not compiled in by default. It provides for CERN httpd metafile
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowssemantics. It is only available in Apache 1.1 and later.
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<h2>Summary</h2>
dd566498928f08e7c9a79797a40db893c6a4b9fbvn
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsEmulate the CERN HTTPD Meta file semantics. Meta files are HTTP
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsheaders that can be output in addition to the normal range of headers
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsfor each file accessed. They appear rather like the Apache
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi.asis files, and are able to provide a crude way of influencing
749f21d359d8fbd020c974a1a5227316221bfc9cwesolowsthe Expires: header, as well as providing other curiosities.
dd566498928f08e7c9a79797a40db893c6a4b9fbvnThere are many ways to manage meta information, this one was
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindichosen because there is already a large number of CERN users
dd566498928f08e7c9a79797a40db893c6a4b9fbvnwho can exploit this module.
dd566498928f08e7c9a79797a40db893c6a4b9fbvn
62e6146930fb254c3db3332a4597f6fffe081b2cdb<P>More information on the
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<A HREF="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe">CERN metafile semantics</A> is available.
7014882c6a3672fd0e5d60200af8643ae53c5928Richard Lowe
7aec1d6e253b21f9e9b7ef68b4d81ab9859b51fecindi<h2>Directives</h2>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<UL>
749f21d359d8fbd020c974a1a5227316221bfc9cwesolows<LI><A HREF="#metafiles">MetaFiles</A>
<LI><A HREF="#metadir">MetaDir</A>
<LI><A HREF="#metasuffix">MetaSuffix</A>
</UL>
<HR>
<h2><A name="metafiles">MetaFiles</A></h2>
<STRONG>Syntax:</STRONG> MetaFiles <EM>on/off</EM><BR>
<STRONG>Default:</STRONG> <CODE>MetaFiles off</CODE><BR>
<STRONG>Context:</STRONG> per-directory config<BR>
<STRONG>Status:</STRONG> Base<BR>
<STRONG>Module:</STRONG> mod_cern_meta<BR>
<STRONG>Compatibility:</STRONG> MetaFiles is only available in Apache 1.3
and later.<P>
Turns on/off Meta file processing on a per-directory basis. This option was introduced in Apache 1.3.
<h2><A name="metadir">MetaDir</A></h2>
<STRONG>Syntax:</STRONG> MetaDir <EM>directory name</EM><BR>
<STRONG>Default:</STRONG> <CODE>MetaDir .web</CODE><BR>
<STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
<STRONG>Context: (Apache 1.3)</STRONG> per-directory 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.
<h2><A name="metasuffix">MetaSuffix</A></h2>
<STRONG>Syntax:</STRONG> MetaSuffix <EM>suffix</EM><BR>
<STRONG>Default:</STRONG> <CODE>MetaSuffix .meta</CODE><BR>
<STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
<STRONG>Context: (Apache 1.3)</STRONG> per-directory 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>