O'Reilly logo

Apache: The Definitive Guide, Second Edition by Peter Laurie, Ben Laurie

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required