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