1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5 This file is generated from xml source: DO NOT EDIT
6 XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8 <title>mod_cern_meta - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
14 <div id="page-header">
15 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
16 <p class="apache">Apache HTTP Server Version 2.0</p>
17 <img alt="" src="../images/feather.gif" /></div>
18 <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
20 <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">Modules</a></div>
21 <div id="page-content">
22 <div id="preamble"><h1>Apache Module mod_cern_meta</h1>
24 <p><span>Available Languages: </span><a href="../en/mod/mod_cern_meta.html" title="English"> en </a> |
25 <a href="../ko/mod/mod_cern_meta.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
27 <table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>CERN httpd metafile semantics</td></tr>
28 <tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
29 <tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>cern_meta_module</td></tr>
30 <tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_cern_meta.c</td></tr></table>
33 <p>Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP
34 headers that can be output in addition to the normal range of
35 headers for each file accessed. They appear rather like the
36 Apache .asis files, and are able to provide a crude way of
37 influencing the Expires: header, as well as providing other
38 curiosities. There are many ways to manage meta information,
39 this one was chosen because there is already a large number of
40 CERN users who can exploit this module.</p>
42 <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.</p>
44 <div id="quickview"><h3 class="directives">Directives</h3>
46 <li><img alt="" src="../images/down.gif" /> <a href="#metadir">MetaDir</a></li>
47 <li><img alt="" src="../images/down.gif" /> <a href="#metafiles">MetaFiles</a></li>
48 <li><img alt="" src="../images/down.gif" /> <a href="#metasuffix">MetaSuffix</a></li>
52 <li><code class="module"><a href="../mod/mod_headers.html">mod_headers</a></code></li>
53 <li><code class="module"><a href="../mod/mod_asis.html">mod_asis</a></code></li>
56 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
57 <div class="directive-section"><h2><a name="MetaDir" id="MetaDir">MetaDir</a> <a name="metadir" id="metadir">Directive</a></h2>
58 <table class="directive">
59 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Name of the directory to find CERN-style meta information
61 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>MetaDir <var>directory</var></code></td></tr>
62 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>MetaDir .web</code></td></tr>
63 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory, .htaccess</td></tr>
64 <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>Indexes</td></tr>
65 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
66 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cern_meta</td></tr>
68 <p>Specifies the name of the directory in which Apache can find
69 meta information files. The directory is usually a 'hidden'
70 subdirectory of the directory that contains the file being
71 accessed. Set to "<code>.</code>" to look in the same directory
74 <div class="example"><p><code>MetaDir .</code></p></div>
76 <p>Or, to set it to a subdirectory of the directory containing the
79 <div class="example"><p><code>MetaDir .meta</code></p></div>
82 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
83 <div class="directive-section"><h2><a name="MetaFiles" id="MetaFiles">MetaFiles</a> <a name="metafiles" id="metafiles">Directive</a></h2>
84 <table class="directive">
85 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Activates CERN meta-file processing</td></tr>
86 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>MetaFiles on|off</code></td></tr>
87 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>MetaFiles off</code></td></tr>
88 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory, .htaccess</td></tr>
89 <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>Indexes</td></tr>
90 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
91 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cern_meta</td></tr>
93 <p>Turns on/off Meta file processing on a per-directory basis.</p>
96 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
97 <div class="directive-section"><h2><a name="MetaSuffix" id="MetaSuffix">MetaSuffix</a> <a name="metasuffix" id="metasuffix">Directive</a></h2>
98 <table class="directive">
99 <tr><th><a href="directive-dict.html#Description">Description:</a></th><td>File name suffix for the file containg CERN-style
100 meta information</td></tr>
101 <tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>MetaSuffix <var>suffix</var></code></td></tr>
102 <tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>MetaSuffix .meta</code></td></tr>
103 <tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory, .htaccess</td></tr>
104 <tr><th><a href="directive-dict.html#Override">Override:</a></th><td>Indexes</td></tr>
105 <tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
106 <tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cern_meta</td></tr>
108 <p>Specifies the file name suffix for the file containing the
109 meta information. For example, the default values for the two
110 directives will cause a request to
111 <code>DOCUMENT_ROOT/somedir/index.html</code> to look in
112 <code>DOCUMENT_ROOT/somedir/.web/index.html.meta</code> and
113 will use its contents to generate additional MIME header
116 <div class="example"><h3>Example:</h3><p><code>
122 <div class="bottomlang">
123 <p><span>Available Languages: </span><a href="../en/mod/mod_cern_meta.html" title="English"> en </a> |
124 <a href="../ko/mod/mod_cern_meta.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
125 </div><div id="footer">
126 <p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
127 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>