]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_cern_meta.html
0a212830b2c079aa7bdd81339bdfc2c3d210ced5
[apache] / docs / manual / mod / mod_cern_meta.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
2 <HTML>
3 <HEAD>
4 <TITLE>Module mod_cern_meta</TITLE>
5 </HEAD>
6
7 <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
8 <BODY
9  BGCOLOR="#FFFFFF"
10  TEXT="#000000"
11  LINK="#0000FF"
12  VLINK="#000080"
13  ALINK="#FF0000"
14 >
15 <!--#include virtual="header.html" -->
16 <H1 ALIGN="CENTER">Apache module mod_cern_meta</H1>
17
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.
21
22 <H2>Summary</H2>
23
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.
32
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.
36
37 <H2>Directives</H2>
38 <UL>
39 <LI><A HREF="#metafiles">MetaFiles</A>
40 <LI><A HREF="#metadir">MetaDir</A>
41 <LI><A HREF="#metasuffix">MetaSuffix</A>
42 </UL>
43
44 <HR>
45
46 <H2><A NAME="metafiles">MetaFiles</A></H2>
47 <A
48  HREF="directive-dict.html#Syntax"
49  REL="Help"
50 ><STRONG>Syntax:</STRONG></A> MetaFiles <EM>on/off</EM><BR>
51 <A
52  HREF="directive-dict.html#Default"
53  REL="Help"
54 ><STRONG>Default:</STRONG></A> <CODE>MetaFiles off</CODE><BR>
55 <A
56  HREF="directive-dict.html#Context"
57  REL="Help"
58 ><STRONG>Context:</STRONG></A> per-directory config<BR>
59 <A
60  HREF="directive-dict.html#Status"
61  REL="Help"
62 ><STRONG>Status:</STRONG></A> Base<BR>
63 <A
64  HREF="directive-dict.html#Module"
65  REL="Help"
66 ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
67 <A
68  HREF="directive-dict.html#Compatibility"
69  REL="Help"
70 ><STRONG>Compatibility:</STRONG></A> MetaFiles is only available in Apache 1.3
71 and later.<P>
72
73 Turns on/off Meta file processing on a per-directory basis. This option was introduced in Apache 1.3.
74
75 <H2><A NAME="metadir">MetaDir</A></H2>
76 <A
77  HREF="directive-dict.html#Syntax"
78  REL="Help"
79 ><STRONG>Syntax:</STRONG></A> MetaDir <EM>directory name</EM><BR>
80 <A
81  HREF="directive-dict.html#Default"
82  REL="Help"
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>
86 <A
87  HREF="directive-dict.html#Status"
88  REL="Help"
89 ><STRONG>Status:</STRONG></A> Base<BR>
90 <A
91  HREF="directive-dict.html#Module"
92  REL="Help"
93 ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
94 <A
95  HREF="directive-dict.html#Compatibility"
96  REL="Help"
97 ><STRONG>Compatibility:</STRONG></A> MetaDir is only available in Apache 1.1
98 and later.<P>
99
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
104 file.
105
106 <H2><A NAME="metasuffix">MetaSuffix</A></H2>
107 <A
108  HREF="directive-dict.html#Syntax"
109  REL="Help"
110 ><STRONG>Syntax:</STRONG></A> MetaSuffix <EM>suffix</EM><BR>
111 <A
112  HREF="directive-dict.html#Default"
113  REL="Help"
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>
117 <A
118  HREF="directive-dict.html#Status"
119  REL="Help"
120 ><STRONG>Status:</STRONG></A> Base<BR>
121 <A
122  HREF="directive-dict.html#Module"
123  REL="Help"
124 ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
125 <A
126  HREF="directive-dict.html#Compatibility"
127  REL="Help"
128 ><STRONG>Compatibility:</STRONG></A> MetaSuffix is only available in Apache 1.1
129 and later.<P>
130
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.
137
138 <P>
139
140 <!--#include virtual="footer.html" -->
141 </BODY>
142 </HTML>
143