Apache The Definitive Guide, 3rd EditionApache: The Definitive GuideSearch this book

3.8. 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.

MetaFiles

MetaFiles [on|off]
Default: off
Directory

Turns metafile processing on or off on a directory basis.

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.

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.



Library Navigation Links

Copyright © 2003 O'Reilly & Associates. All rights reserved.