> Apache2.2 中文手册 > mod_cern_meta

Apache模块 mod_cern_meta

说明 允许Apache使用CERN Httpd元文件,从而可以在发送文件时对头进行修改
状态 扩展(E)
模块名 cern_meta_module
源文件 mod_cern_meta.c

概述

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_cern_meta

MetaDir 指令

说明 Name of the directory to find CERN-style meta information files
语法 MetaDir directory
默认值 MetaDir .web
作用域 server config, virtual host, directory, .htaccess
覆盖项 Indexes
状态 扩展(E)
模块 mod_cern_meta

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

mod_cern_meta

MetaFiles 指令

说明 Activates CERN meta-file processing
语法 MetaFiles on|off
默认值 MetaFiles off
作用域 server config, virtual host, directory, .htaccess
覆盖项 Indexes
状态 扩展(E)
模块 mod_cern_meta

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

mod_cern_meta

MetaSuffix 指令

说明 File name suffix for the file containg CERN-style meta information
语法 MetaSuffix suffix
默认值 MetaSuffix .meta
作用域 server config, virtual host, directory, .htaccess
覆盖项 Indexes
状态 扩展(E)
模块 mod_cern_meta

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.

示例:

MetaSuffix .meta

上一篇:
下一篇: