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 <div align="CENTER"> 15 <img src="../images/sub.gif" alt="[APACHE DOCUMENTATION]" /> 16 17 <h3>Apache HTTP Server Version 1.3</h3> 18 </div> 19 20 21 <h1 align="center">Apache module mod_cern_meta</h1> 22 23 <p>This module provides for CERN httpd metafile semantics.</p> 24 25 <p><a href="module-dict.html#Status" 26 rel="Help"><strong>Status:</strong></a> Extension<br /> 27 <a href="module-dict.html#SourceFile" 28 rel="Help"><strong>Source File:</strong></a> 29 mod_cern_meta.c<br /> 30 <a href="module-dict.html#ModuleIdentifier" 31 rel="Help"><strong>Module Identifier:</strong></a> 32 cern_meta_module<br /> 33 <a href="module-dict.html#Compatibility" 34 rel="Help"><strong>Compatibility:</strong></a> Available in 35 Apache 1.1 and later.</p> 36 37 <h2>Summary</h2> 38 <!-- XXX: Should mention other possibilities in Apache: mod_header --> 39 Emulate the CERN HTTPD Meta file semantics. Meta files are HTTP 40 headers that can be output in addition to the normal range of 41 headers for each file accessed. They appear rather like the 42 Apache .asis files, and are able to provide a crude way of 43 influencing the Expires: header, as well as providing other 44 curiosities. There are many ways to manage meta information, 45 this one was chosen because there is already a large number of 46 CERN users who can exploit this module. 47 48 <p>More information on the <a 49 href="http://www.w3.org/Daemon/User/Config/General.html#MetaDir"> 50 CERN metafile semantics</a> is available.</p> 51 52 <h2>Directives</h2> 53 54 <ul> 55 <li><a href="#metafiles">MetaFiles</a></li> 56 57 <li><a href="#metadir">MetaDir</a></li> 58 59 <li><a href="#metasuffix">MetaSuffix</a></li> 60 </ul> 61 <hr /> 62 63 <h2><a id="metafiles" name="metafiles">MetaFiles</a> 64 directive</h2> 65 <a href="directive-dict.html#Syntax" 66 rel="Help"><strong>Syntax:</strong></a> MetaFiles on|off<br /> 67 <a href="directive-dict.html#Default" 68 rel="Help"><strong>Default:</strong></a> <code>MetaFiles 69 off</code><br /> 70 <a href="directive-dict.html#Context" 71 rel="Help"><strong>Context:</strong></a>directory<br /> 72 <a href="directive-dict.html#Status" 73 rel="Help"><strong>Status:</strong></a> Base<br /> 74 <a href="directive-dict.html#Module" 75 rel="Help"><strong>Module:</strong></a> mod_cern_meta<br /> 76 <a href="directive-dict.html#Compatibility" 77 rel="Help"><strong>Compatibility:</strong></a> MetaFiles is 78 only available in Apache 1.3 and later. 79 80 <p>Turns on/off Meta file processing on a per-directory basis. 81 This option was introduced in Apache 1.3.</p> 82 <hr /> 83 84 <h2><a id="metadir" name="metadir">MetaDir</a> directive</h2> 85 <a href="directive-dict.html#Syntax" 86 rel="Help"><strong>Syntax:</strong></a> MetaDir 87 <em>directory</em><br /> 88 <a href="directive-dict.html#Default" 89 rel="Help"><strong>Default:</strong></a> <code>MetaDir 90 .web</code><br /> 91 <strong>Context: (Apache prior to 1.3)</strong> server 92 config<br /> 93 <strong>Context: (Apache 1.3)</strong> directory<br /> 94 <a href="directive-dict.html#Status" 95 rel="Help"><strong>Status:</strong></a> Base<br /> 96 <a href="directive-dict.html#Module" 97 rel="Help"><strong>Module:</strong></a> mod_cern_meta<br /> 98 <a href="directive-dict.html#Compatibility" 99 rel="Help"><strong>Compatibility:</strong></a> MetaDir is only 100 available in Apache 1.1 and later. 101 102 <p>Specifies the name of the directory in which Apache can find 103 meta information files. The directory is usually a 'hidden' 104 subdirectory of the directory that contains the file being 105 accessed. Set to "<code>.</code>" to look in the same directory 106 as the file.</p> 107 <hr /> 108 109 <h2><a id="metasuffix" name="metasuffix">MetaSuffix</a> 110 directive</h2> 111 <a href="directive-dict.html#Syntax" 112 rel="Help"><strong>Syntax:</strong></a> MetaSuffix 113 <em>suffix</em><br /> 114 <a href="directive-dict.html#Default" 115 rel="Help"><strong>Default:</strong></a> <code>MetaSuffix 116 .meta</code><br /> 117 <strong>Context: (Apache prior to 1.3)</strong> server 118 config<br /> 119 <strong>Context: (Apache 1.3)</strong> directory<br /> 120 <a href="directive-dict.html#Status" 121 rel="Help"><strong>Status:</strong></a> Base<br /> 122 <a href="directive-dict.html#Module" 123 rel="Help"><strong>Module:</strong></a> mod_cern_meta<br /> 124 <a href="directive-dict.html#Compatibility" 125 rel="Help"><strong>Compatibility:</strong></a> MetaSuffix is 126 only available in Apache 1.1 and later. 127 128 <p>Specifies the file name suffix for the file containing the 129 meta information. For example, the default values for the two 130 directives will cause a request to 131 <code>DOCUMENT_ROOT/somedir/index.html</code> to look in 132 <code>DOCUMENT_ROOT/somedir/.web/index.html.meta</code> and 133 will use its contents to generate additional MIME header 134 information.</p> 135 136 <p> <hr /> 137 138 <h3 align="CENTER">Apache HTTP Server Version 1.3</h3> 139 <a href="./"><img src="../images/index.gif" alt="Index" /></a> 140 <a href="../"><img src="../images/home.gif" alt="Home" /></a> 141 142 </p> 143 </body> 144</html> 145