blob: 5d273db3426488b14de753ac82ddf821f07823df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<TITLE>Module mod_cern_meta</TITLE>
</HEAD>
<!-- Background white, links blue (unvisited), navy (visited), red (active) -->
<BODY
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#000080"
ALINK="#FF0000"
>
<!--#include virtual="header.html" -->
<H1 ALIGN="CENTER">Apache module mod_cern_meta</H1>
This module is contained in the <CODE>mod_cern_meta.c</CODE> file, and
is not compiled in by default. It provides for CERN httpd metafile
semantics. It is only available in Apache 1.1 and later.
<H2>Summary</H2>
Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
headers that can be output in addition to the normal range of headers
for each file accessed. They appear rather like the Apache
.asis files, and are able to provide a crude way of influencing
the Expires: header, as well as providing other curiosities.
There are many ways to manage meta information, this one was
chosen because there is already a large number of CERN users
who can exploit this module.
<P>More information on the
<A HREF="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir
">CERN metafile semantics</A> is available.
<H2>Directives</H2>
<UL>
<LI><A HREF="#metafiles">MetaFiles</A>
<LI><A HREF="#metadir">MetaDir</A>
<LI><A HREF="#metasuffix">MetaSuffix</A>
</UL>
<HR>
<H2><A name="metafiles">MetaFiles</A></H2>
<A
HREF="directive-dict.html#Syntax"
REL="Help"
><STRONG>Syntax:</STRONG></A> MetaFiles <EM>on/off</EM><BR>
<A
HREF="directive-dict.html#Default"
REL="Help"
><STRONG>Default:</STRONG></A> <CODE>MetaFiles off</CODE><BR>
<A
HREF="directive-dict.html#Context"
REL="Help"
><STRONG>Context:</STRONG></A> per-directory config<BR>
<A
HREF="directive-dict.html#Status"
REL="Help"
><STRONG>Status:</STRONG></A> Base<BR>
<A
HREF="directive-dict.html#Module"
REL="Help"
><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
<A
HREF="directive-dict.html#Compatibility"
REL="Help"
><STRONG>Compatibility:</STRONG></A> MetaFiles is only available in Apache 1.3
and later.<P>
Turns on/off Meta file processing on a per-directory basis. This option was introduced in Apache 1.3.
<H2><A name="metadir">MetaDir</A></H2>
<A
HREF="directive-dict.html#Syntax"
REL="Help"
><STRONG>Syntax:</STRONG></A> MetaDir <EM>directory name</EM><BR>
<A
HREF="directive-dict.html#Default"
REL="Help"
><STRONG>Default:</STRONG></A> <CODE>MetaDir .web</CODE><BR>
<STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
<STRONG>Context: (Apache 1.3)</STRONG> per-directory config<BR>
<A
HREF="directive-dict.html#Status"
REL="Help"
><STRONG>Status:</STRONG></A> Base<BR>
<A
HREF="directive-dict.html#Module"
REL="Help"
><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
<A
HREF="directive-dict.html#Compatibility"
REL="Help"
><STRONG>Compatibility:</STRONG></A> MetaDir is only available in Apache 1.1
and later.<P>
Specifies the name of the directory in which Apache can find
meta information files. The directory is usually a 'hidden'
subdirectory of the directory that contains the file being
accessed. Set to "<CODE>.</CODE>" to look in the same directory as the
file.
<H2><A name="metasuffix">MetaSuffix</A></H2>
<A
HREF="directive-dict.html#Syntax"
REL="Help"
><STRONG>Syntax:</STRONG></A> MetaSuffix <EM>suffix</EM><BR>
<A
HREF="directive-dict.html#Default"
REL="Help"
><STRONG>Default:</STRONG></A> <CODE>MetaSuffix .meta</CODE><BR>
<STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
<STRONG>Context: (Apache 1.3)</STRONG> per-directory config<BR>
<A
HREF="directive-dict.html#Status"
REL="Help"
><STRONG>Status:</STRONG></A> Base<BR>
<A
HREF="directive-dict.html#Module"
REL="Help"
><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
<A
HREF="directive-dict.html#Compatibility"
REL="Help"
><STRONG>Compatibility:</STRONG></A> MetaSuffix is only available in Apache 1.1
and later.<P>
Specifies the file name suffix for the file containing the
meta information. For example, the default values for the two
directives will cause a request to <CODE>
DOCUMENT_ROOT/somedir/index.html</CODE> to look in
<CODE>DOCUMENT_ROOT/somedir/.web/index.html.meta</CODE> and will use
its contents to generate additional MIME header information.
<P>
<!--#include virtual="footer.html" -->
</BODY>
</HTML>
|