mod_cern_meta CERN httpd metafile semantics Extension mod_cern_meta.c cern_meta_module

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.

More information on the CERN metafile semantics is available.

mod_headers mod_asis MetaFiles Activates CERN meta-file processing MetaFiles on|off MetaFiles off server config virtual host directory .htaccess Indexes

Turns on/off Meta file processing on a per-directory basis.

MetaDir Name of the directory to find CERN-style meta information files MetaDir directory MetaDir .web server config virtual host directory .htaccess Indexes

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 "." to look in the same directory as the file:

MetaDir .

Or, to set it to a subdirectory of the directory containing the files:

MetaDir .meta
MetaSuffix File name suffix for the file containg CERN-style meta information MetaSuffix suffix MetaSuffix .meta server config virtual host directory .htaccess Indexes

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 DOCUMENT_ROOT/somedir/index.html to look in DOCUMENT_ROOT/somedir/.web/index.html.meta and will use its contents to generate additional MIME header information.

Example: MetaSuffix .meta