2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.en.xsl"?>
4 <!-- $LastChangedRevision$ -->
7 Licensed to the Apache Software Foundation (ASF) under one or more
8 contributor license agreements. See the NOTICE file distributed with
9 this work for additional information regarding copyright ownership.
10 The ASF licenses this file to You under the Apache License, Version 2.0
11 (the "License"); you may not use this file except in compliance with
12 the License. You may obtain a copy of the License at
14 http://www.apache.org/licenses/LICENSE-2.0
16 Unless required by applicable law or agreed to in writing, software
17 distributed under the License is distributed on an "AS IS" BASIS,
18 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19 See the License for the specific language governing permissions and
20 limitations under the License.
23 <modulesynopsis metafile="mod_cern_meta.xml.meta">
25 <name>mod_cern_meta</name>
26 <description>CERN httpd metafile semantics</description>
27 <status>Extension</status>
28 <sourcefile>mod_cern_meta.c</sourcefile>
29 <identifier>cern_meta_module</identifier>
32 <p>Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
33 headers that can be output in addition to the normal range of
34 headers for each file accessed. They appear rather like the
35 Apache .asis files, and are able to provide a crude way of
36 influencing the Expires: header, as well as providing other
37 curiosities. There are many ways to manage meta information,
38 this one was chosen because there is already a large number of
39 CERN users who can exploit this module.</p>
41 <p>More information on the <a
42 href="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir"
43 >CERN metafile semantics</a> is available.</p>
46 <seealso><module>mod_headers</module></seealso>
47 <seealso><module>mod_asis</module></seealso>
50 <name>MetaFiles</name>
51 <description>Activates CERN meta-file processing</description>
52 <syntax>MetaFiles on|off</syntax>
53 <default>MetaFiles off</default>
54 <contextlist><context>server config</context>
55 <context>virtual host</context>
56 <context>directory</context>
57 <context>.htaccess</context></contextlist>
58 <override>Indexes</override>
61 <p>Turns on/off Meta file processing on a per-directory basis.</p>
67 <description>Name of the directory to find CERN-style meta information
69 <syntax>MetaDir <var>directory</var></syntax>
70 <default>MetaDir .web</default>
71 <contextlist><context>server config</context>
72 <context>virtual host</context>
73 <context>directory</context>
74 <context>.htaccess</context></contextlist>
75 <override>Indexes</override>
78 <p>Specifies the name of the directory in which Apache can find
79 meta information files. The directory is usually a 'hidden'
80 subdirectory of the directory that contains the file being
81 accessed. Set to "<code>.</code>" to look in the same directory
84 <highlight language="config">MetaDir .</highlight>
86 <p>Or, to set it to a subdirectory of the directory containing the
89 <highlight language="config">MetaDir .meta</highlight>
94 <name>MetaSuffix</name>
95 <description>File name suffix for the file containing CERN-style
96 meta information</description>
97 <syntax>MetaSuffix <var>suffix</var></syntax>
98 <default>MetaSuffix .meta</default>
99 <contextlist><context>server config</context>
100 <context>virtual host</context>
101 <context>directory</context>
102 <context>.htaccess</context></contextlist>
103 <override>Indexes</override>
106 <p>Specifies the file name suffix for the file containing the
107 meta information. For example, the default values for the two
108 directives will cause a request to
109 <code>DOCUMENT_ROOT/somedir/index.html</code> to look in
110 <code>DOCUMENT_ROOT/somedir/.web/index.html.meta</code> and
111 will use its contents to generate additional MIME header
114 <example><title>Example:</title>
115 <highlight language="config">