3.14. CERN Metafiles

A metafile is a file with extra header data to go with the file served—for example, you could add a Refresh header. There seems no obvious place for this material, so we will put it here, with apologies to those readers who find it rather odd.

3.14.1. MetaFiles

               MetaFiles [on|off]
Default: off
Directory

Turns metafile processing on or off on a directory basis.

3.14.2. MetaDir

               MetaDir directory_name
Default directory_name: .web
Directory

Names the directory in which Apache is to look for metafiles. This is usually a "hidden" subdirectory of the directory where the file is held. Set to the value "." to look in the same directory.

3.14.3. MetaSuffix

               MetaSuffix file_suffix
Default file_suffix: .meta
Directory

Names the suffix of the file containing metainformation.

The default values for these directives will cause a request for DOCUMENT_ROOT/mydir/fred.html to look for metainformation (supplementing the MIME header) in DOCUMENT_ROOT/mydir/fred.html.meta.

Get Apache: The Definitive Guide, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.