1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
4 <TITLE>Module mod_cern_meta</TITLE>
7 <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
15 <!--#include virtual="header.html" -->
16 <H1 ALIGN="CENTER">Apache module mod_cern_meta</H1>
18 This module is contained in the <CODE>mod_cern_meta.c</CODE> file, and
19 is not compiled in by default. It provides for CERN httpd metafile
20 semantics. It is only available in Apache 1.1 and later.
24 Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
25 headers that can be output in addition to the normal range of headers
26 for each file accessed. They appear rather like the Apache
27 .asis files, and are able to provide a crude way of influencing
28 the Expires: header, as well as providing other curiosities.
29 There are many ways to manage meta information, this one was
30 chosen because there is already a large number of CERN users
31 who can exploit this module.
33 <P>More information on the
34 <A HREF="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir"
35 >CERN metafile semantics</A> is available.
39 <LI><A HREF="#metafiles">MetaFiles</A>
40 <LI><A HREF="#metadir">MetaDir</A>
41 <LI><A HREF="#metasuffix">MetaSuffix</A>
46 <H2><A NAME="metafiles">MetaFiles</A></H2>
48 HREF="directive-dict.html#Syntax"
50 ><STRONG>Syntax:</STRONG></A> MetaFiles <EM>on/off</EM><BR>
52 HREF="directive-dict.html#Default"
54 ><STRONG>Default:</STRONG></A> <CODE>MetaFiles off</CODE><BR>
56 HREF="directive-dict.html#Context"
58 ><STRONG>Context:</STRONG></A> per-directory config<BR>
60 HREF="directive-dict.html#Status"
62 ><STRONG>Status:</STRONG></A> Base<BR>
64 HREF="directive-dict.html#Module"
66 ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
68 HREF="directive-dict.html#Compatibility"
70 ><STRONG>Compatibility:</STRONG></A> MetaFiles is only available in Apache 1.3
73 Turns on/off Meta file processing on a per-directory basis. This option was introduced in Apache 1.3.
75 <H2><A NAME="metadir">MetaDir</A></H2>
77 HREF="directive-dict.html#Syntax"
79 ><STRONG>Syntax:</STRONG></A> MetaDir <EM>directory name</EM><BR>
81 HREF="directive-dict.html#Default"
83 ><STRONG>Default:</STRONG></A> <CODE>MetaDir .web</CODE><BR>
84 <STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
85 <STRONG>Context: (Apache 1.3)</STRONG> per-directory config<BR>
87 HREF="directive-dict.html#Status"
89 ><STRONG>Status:</STRONG></A> Base<BR>
91 HREF="directive-dict.html#Module"
93 ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
95 HREF="directive-dict.html#Compatibility"
97 ><STRONG>Compatibility:</STRONG></A> MetaDir is only available in Apache 1.1
100 Specifies the name of the directory in which Apache can find
101 meta information files. The directory is usually a 'hidden'
102 subdirectory of the directory that contains the file being
103 accessed. Set to "<CODE>.</CODE>" to look in the same directory as the
106 <H2><A NAME="metasuffix">MetaSuffix</A></H2>
108 HREF="directive-dict.html#Syntax"
110 ><STRONG>Syntax:</STRONG></A> MetaSuffix <EM>suffix</EM><BR>
112 HREF="directive-dict.html#Default"
114 ><STRONG>Default:</STRONG></A> <CODE>MetaSuffix .meta</CODE><BR>
115 <STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
116 <STRONG>Context: (Apache 1.3)</STRONG> per-directory config<BR>
118 HREF="directive-dict.html#Status"
120 ><STRONG>Status:</STRONG></A> Base<BR>
122 HREF="directive-dict.html#Module"
124 ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
126 HREF="directive-dict.html#Compatibility"
128 ><STRONG>Compatibility:</STRONG></A> MetaSuffix is only available in Apache 1.1
131 Specifies the file name suffix for the file containing the
132 meta information. For example, the default values for the two
133 directives will cause a request to <CODE>
134 DOCUMENT_ROOT/somedir/index.html</CODE> to look in
135 <CODE>DOCUMENT_ROOT/somedir/.web/index.html.meta</CODE> and will use
136 its contents to generate additional MIME header information.
140 <!--#include virtual="footer.html" -->