mirror of
				https://github.com/apache/httpd.git
				synced 2025-10-31 19:10:37 +03:00 
			
		
		
		
	git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87273 13f79535-47bb-0310-9956-ffa450edef68
		
			
				
	
	
		
			170 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			170 lines
		
	
	
		
			4.6 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 | |
| <HTML>
 | |
| <HEAD>
 | |
| <TITLE>Module mod_cern_meta</TITLE>
 | |
| </HEAD>
 | |
| 
 | |
| <!-- Background white, links blue (unvisited), navy (visited), red (active) -->
 | |
| <BODY
 | |
|  BGCOLOR="#FFFFFF"
 | |
|  TEXT="#000000"
 | |
|  LINK="#0000FF"
 | |
|  VLINK="#000080"
 | |
|  ALINK="#FF0000"
 | |
| >
 | |
| <!--#include virtual="header.html" -->
 | |
| <H1 ALIGN="CENTER">Apache module mod_cern_meta</H1>
 | |
| 
 | |
| <p>This module provides for CERN httpd metafile semantics.</p>
 | |
| 
 | |
| <P><A
 | |
| HREF="module-dict.html#Status"
 | |
| REL="Help"
 | |
| ><STRONG>Status:</STRONG></A> Extension
 | |
| <BR>
 | |
| <A
 | |
| HREF="module-dict.html#SourceFile"
 | |
| REL="Help"
 | |
| ><STRONG>Source File:</STRONG></A> mod_cern_meta.c
 | |
| <BR>
 | |
| <A
 | |
| HREF="module-dict.html#ModuleIdentifier"
 | |
| REL="Help"
 | |
| ><STRONG>Module Identifier:</STRONG></A> cern_meta_module
 | |
| <BR>
 | |
| <A
 | |
| HREF="module-dict.html#Compatibility"
 | |
| REL="Help"
 | |
| ><STRONG>Compatibility:</STRONG></A> Available in Apache 1.1 and later.
 | |
| </P>
 | |
| 
 | |
| 
 | |
| <H2>Summary</H2>
 | |
| 
 | |
| <!-- XXX: Should mention other possibilities in Apache: mod_header -->
 | |
| 
 | |
| 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.
 | |
| 
 | |
| <P>More information on the
 | |
| <A HREF="http://www.w3.org/pub/WWW/Daemon/User/Config/General.html#MetaDir"
 | |
| >CERN metafile semantics</A> is available.
 | |
| 
 | |
| <H2>Directives</H2>
 | |
| <UL>
 | |
| <LI><A HREF="#metafiles">MetaFiles</A>
 | |
| <LI><A HREF="#metadir">MetaDir</A>
 | |
| <LI><A HREF="#metasuffix">MetaSuffix</A>
 | |
| </UL>
 | |
| 
 | |
| <HR>
 | |
| 
 | |
| <H2><A NAME="metafiles">MetaFiles</A> directive</H2>
 | |
| <A
 | |
|  HREF="directive-dict.html#Syntax"
 | |
|  REL="Help"
 | |
| ><STRONG>Syntax:</STRONG></A> MetaFiles on|off<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Default"
 | |
|  REL="Help"
 | |
| ><STRONG>Default:</STRONG></A> <CODE>MetaFiles off</CODE><BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Context"
 | |
|  REL="Help"
 | |
| ><STRONG>Context:</STRONG></A> per-directory config<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Status"
 | |
|  REL="Help"
 | |
| ><STRONG>Status:</STRONG></A> Base<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Module"
 | |
|  REL="Help"
 | |
| ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Compatibility"
 | |
|  REL="Help"
 | |
| ><STRONG>Compatibility:</STRONG></A> MetaFiles is only available in Apache 1.3
 | |
| and later.<P>
 | |
| 
 | |
| Turns on/off Meta file processing on a per-directory basis. This option was introduced in Apache 1.3.
 | |
| 
 | |
| <hr>
 | |
| 
 | |
| <H2><A NAME="metadir">MetaDir</A> directive</H2>
 | |
| <A
 | |
|  HREF="directive-dict.html#Syntax"
 | |
|  REL="Help"
 | |
| ><STRONG>Syntax:</STRONG></A> MetaDir <EM>directory</EM><BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Default"
 | |
|  REL="Help"
 | |
| ><STRONG>Default:</STRONG></A> <CODE>MetaDir .web</CODE><BR>
 | |
| <STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
 | |
| <STRONG>Context: (Apache 1.3)</STRONG> per-directory config<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Status"
 | |
|  REL="Help"
 | |
| ><STRONG>Status:</STRONG></A> Base<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Module"
 | |
|  REL="Help"
 | |
| ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Compatibility"
 | |
|  REL="Help"
 | |
| ><STRONG>Compatibility:</STRONG></A> MetaDir is only available in Apache 1.1
 | |
| and later.<P>
 | |
| 
 | |
| 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 "<CODE>.</CODE>" to look in the same directory as the
 | |
| file.
 | |
| 
 | |
| <hr>
 | |
| 
 | |
| <H2><A NAME="metasuffix">MetaSuffix</A> directive</H2>
 | |
| <A
 | |
|  HREF="directive-dict.html#Syntax"
 | |
|  REL="Help"
 | |
| ><STRONG>Syntax:</STRONG></A> MetaSuffix <EM>suffix</EM><BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Default"
 | |
|  REL="Help"
 | |
| ><STRONG>Default:</STRONG></A> <CODE>MetaSuffix .meta</CODE><BR>
 | |
| <STRONG>Context: (Apache prior to 1.3)</STRONG> server config<BR>
 | |
| <STRONG>Context: (Apache 1.3)</STRONG> per-directory config<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Status"
 | |
|  REL="Help"
 | |
| ><STRONG>Status:</STRONG></A> Base<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Module"
 | |
|  REL="Help"
 | |
| ><STRONG>Module:</STRONG></A> mod_cern_meta<BR>
 | |
| <A
 | |
|  HREF="directive-dict.html#Compatibility"
 | |
|  REL="Help"
 | |
| ><STRONG>Compatibility:</STRONG></A> MetaSuffix is only available in Apache 1.1
 | |
| and later.<P>
 | |
| 
 | |
| 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 <CODE>
 | |
| DOCUMENT_ROOT/somedir/index.html</CODE> to look in
 | |
| <CODE>DOCUMENT_ROOT/somedir/.web/index.html.meta</CODE> and  will use
 | |
| its contents to generate additional MIME header information.
 | |
| 
 | |
| <P>
 | |
| 
 | |
| <!--#include virtual="footer.html" -->
 | |
| </BODY>
 | |
| </HTML>
 | |
| 
 |