]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_cern_meta.html
w3c tidy to convert to xhtml
[apache] / docs / manual / mod / mod_cern_meta.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4 <html xmlns="http://www.w3.org/1999/xhtml">
5   <head>
6     <meta name="generator" content="HTML Tidy, see www.w3.org" />
7
8     <title>Module mod_cern_meta</title>
9   </head>
10   <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
11
12   <body bgcolor="#FFFFFF" text="#000000" link="#0000FF"
13   vlink="#000080" alink="#FF0000">
14     <!--#include virtual="header.html" -->
15
16     <h1 align="CENTER">Apache module mod_cern_meta</h1>
17
18     <p>This module provides for CERN httpd metafile semantics.</p>
19
20     <p><a href="module-dict.html#Status"
21     rel="Help"><strong>Status:</strong></a> Extension<br />
22      <a href="module-dict.html#SourceFile"
23     rel="Help"><strong>Source File:</strong></a>
24     mod_cern_meta.c<br />
25      <a href="module-dict.html#ModuleIdentifier"
26     rel="Help"><strong>Module Identifier:</strong></a>
27     cern_meta_module<br />
28      <a href="module-dict.html#Compatibility"
29     rel="Help"><strong>Compatibility:</strong></a> Available in
30     Apache 1.1 and later.</p>
31
32     <h2>Summary</h2>
33     <!-- XXX: Should mention other possibilities in Apache: mod_header -->
34     Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
35     headers that can be output in addition to the normal range of
36     headers for each file accessed. They appear rather like the
37     Apache .asis files, and are able to provide a crude way of
38     influencing the Expires: header, as well as providing other
39     curiosities. There are many ways to manage meta information,
40     this one was chosen because there is already a large number of
41     CERN users who can exploit this module. 
42
43     <p>More information on the <a
44     href="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir">
45     CERN metafile semantics</a> is available.</p>
46
47     <h2>Directives</h2>
48
49     <ul>
50       <li><a href="#metafiles">MetaFiles</a></li>
51
52       <li><a href="#metadir">MetaDir</a></li>
53
54       <li><a href="#metasuffix">MetaSuffix</a></li>
55     </ul>
56     <hr />
57
58     <h2><a id="metafiles" name="metafiles">MetaFiles</a>
59     directive</h2>
60     <a href="directive-dict.html#Syntax"
61     rel="Help"><strong>Syntax:</strong></a> MetaFiles on|off<br />
62      <a href="directive-dict.html#Default"
63     rel="Help"><strong>Default:</strong></a> <code>MetaFiles
64     off</code><br />
65      <a href="directive-dict.html#Context"
66     rel="Help"><strong>Context:</strong></a> per-directory
67     config<br />
68      <a href="directive-dict.html#Status"
69     rel="Help"><strong>Status:</strong></a> Base<br />
70      <a href="directive-dict.html#Module"
71     rel="Help"><strong>Module:</strong></a> mod_cern_meta<br />
72      <a href="directive-dict.html#Compatibility"
73     rel="Help"><strong>Compatibility:</strong></a> MetaFiles is
74     only available in Apache 1.3 and later. 
75
76     <p>Turns on/off Meta file processing on a per-directory basis.
77     This option was introduced in Apache 1.3.</p>
78     <hr />
79
80     <h2><a id="metadir" name="metadir">MetaDir</a> directive</h2>
81     <a href="directive-dict.html#Syntax"
82     rel="Help"><strong>Syntax:</strong></a> MetaDir
83     <em>directory</em><br />
84      <a href="directive-dict.html#Default"
85     rel="Help"><strong>Default:</strong></a> <code>MetaDir
86     .web</code><br />
87      <strong>Context: (Apache prior to 1.3)</strong> server
88     config<br />
89      <strong>Context: (Apache 1.3)</strong> per-directory
90     config<br />
91      <a href="directive-dict.html#Status"
92     rel="Help"><strong>Status:</strong></a> Base<br />
93      <a href="directive-dict.html#Module"
94     rel="Help"><strong>Module:</strong></a> mod_cern_meta<br />
95      <a href="directive-dict.html#Compatibility"
96     rel="Help"><strong>Compatibility:</strong></a> MetaDir is only
97     available in Apache 1.1 and later. 
98
99     <p>Specifies the name of the directory in which Apache can find
100     meta information files. The directory is usually a 'hidden'
101     subdirectory of the directory that contains the file being
102     accessed. Set to "<code>.</code>" to look in the same directory
103     as the file.</p>
104     <hr />
105
106     <h2><a id="metasuffix" name="metasuffix">MetaSuffix</a>
107     directive</h2>
108     <a href="directive-dict.html#Syntax"
109     rel="Help"><strong>Syntax:</strong></a> MetaSuffix
110     <em>suffix</em><br />
111      <a href="directive-dict.html#Default"
112     rel="Help"><strong>Default:</strong></a> <code>MetaSuffix
113     .meta</code><br />
114      <strong>Context: (Apache prior to 1.3)</strong> server
115     config<br />
116      <strong>Context: (Apache 1.3)</strong> per-directory
117     config<br />
118      <a href="directive-dict.html#Status"
119     rel="Help"><strong>Status:</strong></a> Base<br />
120      <a href="directive-dict.html#Module"
121     rel="Help"><strong>Module:</strong></a> mod_cern_meta<br />
122      <a href="directive-dict.html#Compatibility"
123     rel="Help"><strong>Compatibility:</strong></a> MetaSuffix is
124     only available in Apache 1.1 and later. 
125
126     <p>Specifies the file name suffix for the file containing the
127     meta information. For example, the default values for the two
128     directives will cause a request to
129     <code>DOCUMENT_ROOT/somedir/index.html</code> to look in
130     <code>DOCUMENT_ROOT/somedir/.web/index.html.meta</code> and
131     will use its contents to generate additional MIME header
132     information.</p>
133
134     <p><!--#include virtual="footer.html" -->
135     </p>
136   </body>
137 </html>
138