You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by pq...@apache.org on 2005/04/10 20:38:42 UTC
svn commit: r160791 [1/3] - in
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual: ./ mod/
Author: pquerna
Date: Sun Apr 10 11:38:38 2005
New Revision: 160791
URL: http://svn.apache.org/viewcvs?view=rev&rev=160791
Log:
Backport mod_version docs.
Added:
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html.en
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml
- copied, changed from r160790, httpd/httpd/trunk/docs/manual/mod/mod_version.xml
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ja
- copied, changed from r160790, httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ja
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ko
- copied, changed from r160790, httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ko
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.meta
- copied unchanged from r160790, httpd/httpd/trunk/docs/manual/mod/mod_version.xml.meta
Modified:
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.de
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.es
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ja
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ko
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ru
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/directives.html.en
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/index.html.en
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.html.en
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.ko
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.meta
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_ldap.html.en
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/quickreference.html.en
httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/sitemap.html.en
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml Sun Apr 10 11:38:38 2005
@@ -57,6 +57,7 @@
<modulefile>mod_unique_id.xml</modulefile>
<modulefile>mod_userdir.xml</modulefile>
<modulefile>mod_usertrack.xml</modulefile>
+ <modulefile>mod_version.xml</modulefile>
<modulefile>mod_vhost_alias.xml</modulefile>
<modulefile>beos.xml</modulefile>
<modulefile>mpm_common.xml</modulefile>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.de
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.de?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.de (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.de Sun Apr 10 11:38:38 2005
@@ -57,6 +57,7 @@
<modulefile>mod_unique_id.xml</modulefile>
<modulefile>mod_userdir.xml</modulefile>
<modulefile>mod_usertrack.xml</modulefile>
+ <modulefile>mod_version.xml</modulefile>
<modulefile>mod_vhost_alias.xml</modulefile>
<modulefile>beos.xml.de</modulefile>
<modulefile>mpm_common.xml.de</modulefile>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.es
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.es?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.es (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.es Sun Apr 10 11:38:38 2005
@@ -57,6 +57,7 @@
<modulefile>mod_unique_id.xml</modulefile>
<modulefile>mod_userdir.xml</modulefile>
<modulefile>mod_usertrack.xml</modulefile>
+ <modulefile>mod_version.xml</modulefile>
<modulefile>mod_vhost_alias.xml</modulefile>
<modulefile>beos.xml.es</modulefile>
<modulefile>mpm_common.xml.es</modulefile>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ja
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ja?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ja (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ja Sun Apr 10 11:38:38 2005
@@ -57,6 +57,7 @@
<modulefile>mod_unique_id.xml.ja</modulefile>
<modulefile>mod_userdir.xml.ja</modulefile>
<modulefile>mod_usertrack.xml</modulefile>
+ <modulefile>mod_version.xml.ja</modulefile>
<modulefile>mod_vhost_alias.xml</modulefile>
<modulefile>beos.xml</modulefile>
<modulefile>mpm_common.xml.ja</modulefile>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ko
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ko?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ko (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ko Sun Apr 10 11:38:38 2005
@@ -57,6 +57,7 @@
<modulefile>mod_unique_id.xml.ko</modulefile>
<modulefile>mod_userdir.xml.ko</modulefile>
<modulefile>mod_usertrack.xml</modulefile>
+ <modulefile>mod_version.xml.ko</modulefile>
<modulefile>mod_vhost_alias.xml</modulefile>
<modulefile>beos.xml.ko</modulefile>
<modulefile>mpm_common.xml</modulefile>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ru
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ru?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ru (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/allmodules.xml.ru Sun Apr 10 11:38:38 2005
@@ -57,6 +57,7 @@
<modulefile>mod_unique_id.xml</modulefile>
<modulefile>mod_userdir.xml</modulefile>
<modulefile>mod_usertrack.xml</modulefile>
+ <modulefile>mod_version.xml</modulefile>
<modulefile>mod_vhost_alias.xml</modulefile>
<modulefile>beos.xml</modulefile>
<modulefile>mpm_common.xml</modulefile>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/directives.html.en
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/directives.html.en?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/directives.html.en (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/directives.html.en Sun Apr 10 11:38:38 2005
@@ -123,6 +123,7 @@
<li><a href="mod_disk_cache.html#cachegcmemusage">CacheGcMemUsage</a></li>
<li><a href="mod_disk_cache.html#cachegcunused">CacheGcUnused</a></li>
<li><a href="mod_cache.html#cacheignorecachecontrol">CacheIgnoreCacheControl</a></li>
+<li><a href="mod_cache.html#cacheignoreheaders">CacheIgnoreHeaders</a></li>
<li><a href="mod_cache.html#cacheignorenolastmod">CacheIgnoreNoLastMod</a></li>
<li><a href="mod_cache.html#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li>
<li><a href="mod_cache.html#cachemaxexpire">CacheMaxExpire</a></li>
@@ -192,6 +193,7 @@
<li><a href="core.html#identitycheck" id="I" name="I">IdentityCheck</a></li>
<li><a href="core.html#ifdefine"><IfDefine></a></li>
<li><a href="core.html#ifmodule"><IfModule></a></li>
+<li><a href="mod_version.html#ifversion"><IfVersion></a></li>
<li><a href="mod_imap.html#imapbase">ImapBase</a></li>
<li><a href="mod_imap.html#imapdefault">ImapDefault</a></li>
<li><a href="mod_imap.html#imapmenu">ImapMenu</a></li>
@@ -210,6 +212,7 @@
<li><a href="mod_negotiation.html#languagepriority" id="L" name="L">LanguagePriority</a></li>
<li><a href="mod_ldap.html#ldapcacheentries">LDAPCacheEntries</a></li>
<li><a href="mod_ldap.html#ldapcachettl">LDAPCacheTTL</a></li>
+<li><a href="mod_ldap.html#ldapconnectiontimeout">LDAPConnectionTimeout</a></li>
<li><a href="mod_ldap.html#ldapopcacheentries">LDAPOpCacheEntries</a></li>
<li><a href="mod_ldap.html#ldapopcachettl">LDAPOpCacheTTL</a></li>
<li><a href="mod_ldap.html#ldapsharedcachefile">LDAPSharedCacheFile</a></li>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/index.html.en
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/index.html.en?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/index.html.en (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/index.html.en Sun Apr 10 11:38:38 2005
@@ -163,7 +163,8 @@
<dt><a href="mod_usertrack.html">mod_usertrack</a></dt><dd>
<em>Clickstream</em> logging of user activity on a site
</dd>
-<dt><a href="mod_vhost_alias.html" id="V" name="V">mod_vhost_alias</a></dt><dd>Provides for dynamically configured mass virtual
+<dt><a href="mod_version.html" id="V" name="V">mod_version</a></dt><dd>Version dependent configuration</dd>
+<dt><a href="mod_vhost_alias.html">mod_vhost_alias</a></dt><dd>Provides for dynamically configured mass virtual
hosting</dd>
</dl></div></div>
<div class="bottomlang">
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.html.en
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.html.en?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.html.en (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.html.en Sun Apr 10 11:38:38 2005
@@ -63,6 +63,7 @@
<li><img alt="" src="../images/down.gif" /> <a href="#cacheenable">CacheEnable</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cacheforcecompletion">CacheForceCompletion</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cacheignorecachecontrol">CacheIgnoreCacheControl</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#cacheignoreheaders">CacheIgnoreHeaders</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cacheignorenolastmod">CacheIgnoreNoLastMod</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cachelastmodifiedfactor">CacheLastModifiedFactor</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#cachemaxexpire">CacheMaxExpire</a></li>
@@ -239,6 +240,59 @@
<div class="example"><p><code>
CacheIgnoreCacheControl On
</code></p></div>
+
+</div>
+<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
+<div class="directive-section"><h2><a name="CacheIgnoreHeaders" id="CacheIgnoreHeaders">CacheIgnoreHeaders</a> <a name="cacheignoreheaders" id="cacheignoreheaders">Directive</a></h2>
+<table class="directive">
+<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Do not store the given HTTP header(s) in the cache.
+</td></tr>
+<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>CacheIgnoreHeaders <var>header-string</var> [<var>header-string</var>] ...</code></td></tr>
+<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>CacheIgnoreHeaders None</code></td></tr>
+<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host</td></tr>
+<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
+<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_cache</td></tr>
+</table>
+ <p>According to RFC 2616, hop-by-hop HTTP headers are not stored in
+ the cache. The following HTTP headers are hop-by-hop headers and thus
+ do not get stored in the cache in <em>any</em> case regardless of the
+ setting of <code class="directive">CacheIgnoreHeaders</code>:</p>
+
+ <ul>
+ <li><code>Connection</code></li>
+ <li><code>Keep-Alive</code></li>
+ <li><code>Proxy-Authenticate</code></li>
+ <li><code>Proxy-Authorization</code></li>
+ <li><code>TE</code></li>
+ <li><code>Trailers</code></li>
+ <li><code>Transfer-Encoding</code></li>
+ <li><code>Upgrade</code></li>
+ </ul>
+
+ <p><code class="directive">CacheIgnoreHeaders</code> specifies additional HTTP
+ headers that should not to be stored in the cache. For example, it makes
+ sense in some cases to prevent cookies from being stored in the cache.</p>
+
+ <p><code class="directive">CacheIgnoreHeaders</code> takes a space separated list
+ of HTTP headers that should not be stored in the cache. If only hop-by-hop
+ headers not should be stored in the cache (the RFC 2616 compliant
+ behaviour), <code class="directive">CacheIgnoreHeaders</code> can be set to
+ <code>None</code>.</p>
+
+ <div class="example"><h3>Example 1</h3><p><code>
+ CacheIgnoreHeaders Set-Cookie
+ </code></p></div>
+
+ <div class="example"><h3>Example 2</h3><p><code>
+ CacheIgnoreHeaders None
+ </code></p></div>
+
+ <div class="warning"><h3>Warning:</h3>
+ If headers like <code>Expires</code> which are needed for proper cache
+ management are not stored due to a
+ <code class="directive">CacheIgnoreHeaders</code> setting, the behaviour of
+ mod_cache is undefined.
+ </div>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.ko
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.ko?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.ko (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.ko Sun Apr 10 11:38:38 2005
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
-<!-- English Revision: 151405 -->
+<!-- English Revision: 151405:160771 (outdated) -->
<!--
Copyright 2003-2004 The Apache Software Foundation
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.meta
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.meta?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.meta (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_cache.xml.meta Sun Apr 10 11:38:38 2005
@@ -7,6 +7,6 @@
<variants>
<variant>en</variant>
- <variant>ko</variant>
+ <variant outdated="yes">ko</variant>
</variants>
</metafile>
Modified: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_ldap.html.en
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_ldap.html.en?view=diff&r1=160790&r2=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_ldap.html.en (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_ldap.html.en Sun Apr 10 11:38:38 2005
@@ -53,6 +53,7 @@
<ul id="toc">
<li><img alt="" src="../images/down.gif" /> <a href="#ldapcacheentries">LDAPCacheEntries</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#ldapcachettl">LDAPCacheTTL</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#ldapconnectiontimeout">LDAPConnectionTimeout</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#ldapopcacheentries">LDAPOpCacheEntries</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#ldapopcachettl">LDAPOpCacheTTL</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#ldapsharedcachefile">LDAPSharedCacheFile</a></li>
@@ -272,6 +273,22 @@
<p>Specifies the time (in seconds) that an item in the
search/bind cache remains valid. The default is 600 seconds (10
minutes).</p>
+
+</div>
+<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
+<div class="directive-section"><h2><a name="LDAPConnectionTimeout" id="LDAPConnectionTimeout">LDAPConnectionTimeout</a> <a name="ldapconnectiontimeout" id="ldapconnectiontimeout">Directive</a></h2>
+<table class="directive">
+<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Specifies the socket connection timeout in seconds</td></tr>
+<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>LDAPConnectionTimeout <var>seconds</var></code></td></tr>
+<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config</td></tr>
+<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Experimental</td></tr>
+<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_ldap</td></tr>
+</table>
+ <p>Specifies the timeout value (in seconds) in which the module will
+ attempt to connect to the LDAP server. If a connection is not
+ successful with the timeout period, either an error will be
+ returned or the module will attempt to connect to a secondary LDAP
+ server if one is specified. The default is 10 seconds.</p>
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
Added: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html?view=auto&rev=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html (added)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html Sun Apr 10 11:38:38 2005
@@ -0,0 +1,11 @@
+URI: mod_version.html.en
+Content-Language: en
+Content-type: text/html; charset=ISO-8859-1
+
+URI: mod_version.html.ja.euc-jp
+Content-Language: ja
+Content-type: text/html; charset=EUC-JP
+
+URI: mod_version.html.ko.euc-kr
+Content-Language: ko
+Content-type: text/html; charset=EUC-KR
Added: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html.en
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html.en?view=auto&rev=160791
==============================================================================
--- httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html.en (added)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.html.en Sun Apr 10 11:38:38 2005
@@ -0,0 +1,150 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ This file is generated from xml source: DO NOT EDIT
+ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
+ -->
+<title>mod_version - Apache HTTP Server</title>
+<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
+<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
+<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
+<link href="../images/favicon.ico" rel="shortcut icon" /></head>
+<body>
+<div id="page-header">
+<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
+<p class="apache">Apache HTTP Server Version 2.0</p>
+<img alt="" src="../images/feather.gif" /></div>
+<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
+<div id="path">
+<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">Modules</a></div>
+<div id="page-content">
+<div id="preamble"><h1>Apache Module mod_version</h1>
+<div class="toplang">
+<p><span>Available Languages: </span><a href="../en/mod/mod_version.html" title="English"> en </a> |
+<a href="../ja/mod/mod_version.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
+<a href="../ko/mod/mod_version.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
+</div>
+<table class="module"><tr><th><a href="module-dict.html#Description">Description:</a></th><td>Version dependent configuration</td></tr>
+<tr><th><a href="module-dict.html#Status">Status:</a></th><td>Extension</td></tr>
+<tr><th><a href="module-dict.html#ModuleIdentifier">Module Identifier:</a></th><td>version_module</td></tr>
+<tr><th><a href="module-dict.html#SourceFile">Source File:</a></th><td>mod_version.c</td></tr>
+<tr><th><a href="module-dict.html#Compatibility">Compatibility:</a></th><td>Available in version 2.0.54 and later</td></tr></table>
+<h3>Summary</h3>
+
+ <p>This module is designed for the use in test suites and large
+ networks which have to deal with different httpd versions and
+ different configurations. It provides a new container -- <code class="directive"><a href="#ifversion"><IfVersion></a></code>, which
+ allows a flexible version checking including numeric comparisons and
+ regular expressions.</p>
+
+ <div class="example"><h3>Examples</h3><p><code>
+ <IfVersion 2.1.0><br />
+ <span class="indent">
+ # current httpd version is exactly 2.1.0<br />
+ </span>
+ </IfVersion><br />
+ <br />
+ <IfVersion >= 2.2><br />
+ <span class="indent">
+ # use really new features :-)<br />
+ </span>
+ </IfVersion>
+ </code></p></div>
+
+ <p>See below for further possibilities.</p>
+</div>
+<div id="quickview"><h3 class="directives">Directives</h3>
+<ul id="toc">
+<li><img alt="" src="../images/down.gif" /> <a href="#ifversion"><IfVersion></a></li>
+</ul>
+</div>
+
+<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
+<div class="directive-section"><h2><a name="IfVersion" id="IfVersion"><IfVersion></a> <a name="ifversion" id="ifversion">Directive</a></h2>
+<table class="directive">
+<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>contains version dependent configuration</td></tr>
+<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code><IfVersion [[!]<var>operator</var>] <var>version</var>> ...
+</IfVersion></code></td></tr>
+<tr><th><a href="directive-dict.html#Context">Context:</a></th><td>server config, virtual host, directory, .htaccess</td></tr>
+<tr><th><a href="directive-dict.html#Override">Override:</a></th><td>All</td></tr>
+<tr><th><a href="directive-dict.html#Status">Status:</a></th><td>Extension</td></tr>
+<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_version</td></tr>
+</table>
+ <p>The <code class="directive"><IfVersion></code> section encloses
+ configuration directives which are executed only if the
+ <code class="program"><a href="../programs/httpd.html">httpd</a></code> version
+ matches the desired criteria. For normal (numeric) comparisons the
+ <var>version</var> argument has the format
+ <code><var>major</var>[.<var>minor</var>[.<var>patch</var>]]</code>, e.g.
+ <code>2.1.0</code> or <code>2.2</code>. <var>minor</var> and
+ <var>patch</var> are optional. If these numbers are omitted, they are
+ assumed to be zero. The following numerical <var>operator</var>s are
+ possible:</p>
+
+ <table class="bordered"><tr class="header"><th><var>operator</var></th><th>description</th></tr>
+<tr><td><code>=</code> or <code>==</code></td>
+ <td>httpd version is equal</td></tr>
+<tr class="odd"><td><code>></code></td>
+ <td>httpd version is greater than</td></tr>
+<tr><td><code>>=</code></td>
+ <td>httpd version is greater or equal</td></tr>
+<tr class="odd"><td><code><</code></td>
+ <td>httpd version is less than</td></tr>
+<tr><td><code><=</code></td>
+ <td>httpd version is less or equal</td></tr>
+</table>
+
+ <div class="example"><h3>Example</h3><p><code>
+ <IfVersion >= 2.1><br />
+ <span class="indent">
+ # this happens only in versions greater or<br />
+ # equal 2.1.0.<br />
+ </span>
+ </IfVersion>
+ </code></p></div>
+
+ <p>Besides the numerical comparison it is possible to match a regular
+ expression against the httpd version. There are two ways to write it:</p>
+
+ <table class="bordered"><tr class="header"><th><var>operator</var></th><th>description</th></tr>
+<tr><td><code>=</code> or <code>==</code></td>
+ <td><var>version</var> has the form
+ <code>/<var>regex</var>/</code></td></tr>
+<tr class="odd"><td><code>~</code></td>
+ <td><var>version</var> has the form
+ <code><var>regex</var></code></td></tr>
+</table>
+
+ <div class="example"><h3>Example</h3><p><code>
+ <IfVersion = /^2.1.[01234]$/><br />
+ <span class="indent">
+ # e.g. workaround for buggy versions
+ </span>
+ </IfVersion>
+ </code></p></div>
+
+ <p>In order to reverse the meaning, all operators can be preceded by an
+ exclamation mark (<code>!</code>):</p>
+
+ <div class="example"><p><code>
+ <IfVersion !~ ^2.1.[01234]$><br />
+ <span class="indent">
+ # not for those versions<br />
+ </span>
+ </IfVersion>
+ </code></p></div>
+
+ <p>If the <var>operator</var> is omitted, it is assumed to be
+ <code>=</code>.</p>
+
+</div>
+</div>
+<div class="bottomlang">
+<p><span>Available Languages: </span><a href="../en/mod/mod_version.html" title="English"> en </a> |
+<a href="../ja/mod/mod_version.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
+<a href="../ko/mod/mod_version.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
+</div><div id="footer">
+<p class="apache">Copyright 1995-2005 The Apache Software Foundation or its licensors, as applicable.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
+<p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
+</body></html>
\ No newline at end of file
Copied: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml (from r160790, httpd/httpd/trunk/docs/manual/mod/mod_version.xml)
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml?view=diff&rev=160791&p1=httpd/httpd/trunk/docs/manual/mod/mod_version.xml&r1=160790&p2=httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml&r2=160791
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_version.xml (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml Sun Apr 10 11:38:38 2005
@@ -26,7 +26,7 @@
<status>Extension</status>
<sourcefile>mod_version.c</sourcefile>
<identifier>version_module</identifier>
-<compatibility>Available in version 2.1 and later</compatibility>
+<compatibility>Available in version 2.0.54 and later</compatibility>
<summary>
<p>This module is designed for the use in test suites and large
Copied: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ja (from r160790, httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ja)
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ja?view=diff&rev=160791&p1=httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ja&r1=160790&p2=httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ja&r2=160791
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ja (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ja Sun Apr 10 11:38:38 2005
@@ -26,7 +26,7 @@
<status>Extension</status>
<sourcefile>mod_version.c</sourcefile>
<identifier>version_module</identifier>
-<compatibility>バージョン 2.1 以降</compatibility>
+<compatibility>バージョン 2.0.54 以降</compatibility>
<summary>
<p>様々なバージョンの httpd の異なる設定を扱うことになる、
Copied: httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ko (from r160790, httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ko)
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ko?view=diff&rev=160791&p1=httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ko&r1=160790&p2=httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ko&r2=160791
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_version.xml.ko (original)
+++ httpd/httpd/branches/mod_version_for_2.0.x/docs/manual/mod/mod_version.xml.ko Sun Apr 10 11:38:38 2005
@@ -26,7 +26,7 @@
<status>Extension</status>
<sourcefile>mod_version.c</sourcefile>
<identifier>version_module</identifier>
-<compatibility>아파치 2.1 이후부터</compatibility>
+<compatibility>아파치 2.0.54 이후부터</compatibility>
<summary>
<p>여러 다른 웹서버 버전과 구성을 다루어야 할 큰 네트웍과