You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2018/03/30 12:48:03 UTC
svn commit: r1828063 [1/3] - in /httpd/httpd/branches/2.4.x/docs/manual: ./
mod/ rewrite/
Author: covener
Date: Fri Mar 30 12:48:02 2018
New Revision: 1828063
URL: http://svn.apache.org/viewvc?rev=1828063&view=rev
Log:
xforms
Modified:
httpd/httpd/branches/2.4.x/docs/manual/bind.html.en
httpd/httpd/branches/2.4.x/docs/manual/mod/core.html.en
httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.de
httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.es
httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.fr
httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.ja
httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.meta
httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.tr
httpd/httpd/branches/2.4.x/docs/manual/mod/directives.html.en
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.html.en
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.fr
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.meta
httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.html.en
httpd/httpd/branches/2.4.x/docs/manual/mod/quickreference.html.en
httpd/httpd/branches/2.4.x/docs/manual/rewrite/rewritemap.html.en
Modified: httpd/httpd/branches/2.4.x/docs/manual/bind.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/bind.html.en?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/bind.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/bind.html.en Fri Mar 30 12:48:02 2018
@@ -34,6 +34,7 @@
<p>Configuring Apache HTTP Server to listen on specific addresses and ports.</p>
</div>
<div id="quickview"><a href="https://www.apache.org/foundation/contributing.html" class="badge"><img src="https://www.apache.org/images/SupportApache-small.png" alt="Support Apache!" /></a><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Overview</a></li>
+<li><img alt="" src="./images/down.gif" /> <a href="#reload">Changing Listen configuration on restart</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#ipv6">Special IPv6 Considerations</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#protocol">Specifying the protocol with Listen</a></li>
<li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">How This Works With Virtual Hosts</a></li>
@@ -101,6 +102,34 @@ Listen 192.0.2.5:8000</pre>
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
<div class="section">
+<h2><a name="reload" id="reload">Changing Listen configuration on restart</a></h2>
+
+
+ <p>When httpd is restarted, special consideration must be made for
+ changes to <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives. During a restart, httpd keeps ports
+ bound (as in the original configuration) to avoid generating
+ "Connection refused" errors for any new attempts to connect to the
+ server. If changes are made to the set of <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> directives used
+ which conflict with the old configuration, configuration will fail
+ and the server will terminate.</p>
+
+ <p>For example, changing from configuration:</p>
+
+ <div class="example"><pre class="prettyprint lang-config">Listen 127.0.0.1:80</pre>
+</div>
+
+ <p>to the following may fail, because binding to port 80 across
+ all addresses conflicts with binding to port 80 on just
+ 127.0.0.1.</p>
+
+ <div class="example"><pre class="prettyprint lang-config">Listen 80</pre>
+</div>
+
+ <p>To have such configuration changes take effect, it is necessary
+ to stop and then start the server.</p>
+
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
+<div class="section">
<h2><a name="ipv6" id="ipv6">Special IPv6 Considerations</a></h2>
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.html.en?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.html.en Fri Mar 30 12:48:02 2018
@@ -26,7 +26,9 @@
<div id="page-content">
<div id="preamble"><h1>Apache Core Features</h1>
<div class="toplang">
-<p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
+<p><span>Available Languages: </span><a href="../2/mod/core.html" hreflang="2" rel="alternate" title=""> 2 </a> |
+<a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
+<a href="../edited/mod/core.html" hreflang="edited" rel="alternate" title=""> edited </a> |
<a href="../en/mod/core.html" title="English"> en </a> |
<a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Español"> es </a> |
<a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Français"> fr </a> |
@@ -102,6 +104,7 @@ available</td></tr>
<li><img alt="" src="../images/down.gif" /> <a href="#protocols">Protocols</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#protocolshonororder">ProtocolsHonorOrder</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#qualifyredirecturl">QualifyRedirectURL</a></li>
+<li><img alt="" src="../images/down.gif" /> <a href="#regexdefaultoptions">RegexDefaultOptions</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#registerhttpmethod">RegisterHttpMethod</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#rlimitcpu">RLimitCPU</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#rlimitmem">RLimitMEM</a></li>
@@ -3874,6 +3877,53 @@ as if 'QualifyRedirectURL ON' was config
</div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
+<div class="directive-section"><h2><a name="RegexDefaultOptions" id="RegexDefaultOptions">RegexDefaultOptions</a> <a name="regexdefaultoptions" id="regexdefaultoptions">Directive</a></h2>
+<table class="directive">
+<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Allow to configure global/default options for regexes</td></tr>
+<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>RegexDefaultOptions [none] [+|-]<var>option</var> [[+|-]<var>option</var>] ...</code></td></tr>
+<tr><th><a href="directive-dict.html#Default">Default:</a></th><td><code>RegexDefaultOptions DOLLAR_ENDONLY</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>Core</td></tr>
+<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Only available from Apache 2.4.30 and later.</td></tr>
+</table>
+ <p>This directive adds some default behavior to ANY regular expression
+ used afterwards.</p>
+
+ <p>Any option preceded by a '+' is added to the already set options.<br />
+ Any option preceded by a '-' is removed from the already set options.<br />
+ Any option without a '+' or a '-' will be set, removing any other
+ already set option.<br />
+ The <code>none</code> keyword resets any already set options.</p>
+
+ <p><var>option</var> can be:</p>
+ <dl>
+ <dt><code>ICASE</code></dt>
+ <dd>Use a case-insensitive match.</dd>
+
+ <dt><code>DOTALL</code></dt>
+ <dd>Perl's /s flag.</dd>
+
+ <dt><code>DOLLAR_ENDONLY</code></dt>
+ <dd>'$' matches at end of subject string only.</dd>
+ <dd>.</dd>
+ </dl>
+ <pre class="prettyprint lang-config">#
+RegexDefaultOptions +ICASE +DOLLAR_ENDONLY
+...
+# Remove the ICASE option, but keep all the other already set options
+RegexDefaultOptions -ICASE
+...
+# Set the default option to DOTALL, resetting any other option
+RegexDefaultOptions DOTALL
+...
+# Reset all defined option
+RegexDefaultOptions none
+...</pre>
+
+
+</div>
+<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="directive-section"><h2><a name="RegisterHttpMethod" id="RegisterHttpMethod">RegisterHttpMethod</a> <a name="registerhttpmethod" id="registerhttpmethod">Directive</a></h2>
<table class="directive">
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Register non-standard HTTP methods</td></tr>
@@ -3881,6 +3931,7 @@ as if 'QualifyRedirectURL ON' was config
<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>Core</td></tr>
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>core</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>Available in Apache HTTP Server 2.4.24 and later</td></tr>
</table>
<p>This directive may be used to register additional HTTP methods. This is
necessary if non-standard methods need to be used with directives that accept
@@ -4883,7 +4934,9 @@ hostname or IP address</td></tr>
</div>
</div>
<div class="bottomlang">
-<p><span>Available Languages: </span><a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
+<p><span>Available Languages: </span><a href="../2/mod/core.html" hreflang="2" rel="alternate" title=""> 2 </a> |
+<a href="../de/mod/core.html" hreflang="de" rel="alternate" title="Deutsch"> de </a> |
+<a href="../edited/mod/core.html" hreflang="edited" rel="alternate" title=""> edited </a> |
<a href="../en/mod/core.html" title="English"> en </a> |
<a href="../es/mod/core.html" hreflang="es" rel="alternate" title="Español"> es </a> |
<a href="../fr/mod/core.html" hreflang="fr" rel="alternate" title="Français"> fr </a> |
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.de
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.de?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.de (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.de Fri Mar 30 12:48:02 2018
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.de.xsl"?>
-<!-- English Revision: 344972:1827611 (outdated) -->
+<!-- English Revision: 344972:1828061 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.es
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.es?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.es [utf-8] (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.es [utf-8] Fri Mar 30 12:48:02 2018
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.es.xsl"?>
-<!-- English Revision: 1741251:1827611 (outdated) -->
+<!-- English Revision: 1741251:1828061 (outdated) -->
<!-- Translated by Luis Gil de Bernabé Pfeiffer lgilbernabe[AT]apache.org -->
<!-- Reviewed by Sergio Ramos-->
<!--
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.fr?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.fr [utf-8] (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.fr [utf-8] Fri Mar 30 12:48:02 2018
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision: 1827611 -->
+<!-- English Revision: 1827611:1828061 (outdated) -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.ja
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.ja?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.ja [utf-8] (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.ja [utf-8] Fri Mar 30 12:48:02 2018
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.ja.xsl"?>
-<!-- English Revision: 669847:1827611 (outdated) -->
+<!-- English Revision: 669847:1828061 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.meta?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.meta (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.meta Fri Mar 30 12:48:02 2018
@@ -7,10 +7,12 @@
<relpath>..</relpath>
<variants>
+ <variant>2</variant>
<variant outdated="yes">de</variant>
+ <variant>edited</variant>
<variant>en</variant>
<variant outdated="yes">es</variant>
- <variant>fr</variant>
+ <variant outdated="yes">fr</variant>
<variant outdated="yes">ja</variant>
<variant outdated="yes">tr</variant>
</variants>
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.tr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.tr?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.tr [utf-8] (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/core.xml.tr [utf-8] Fri Mar 30 12:48:02 2018
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.tr.xsl"?>
-<!-- English Revision: 1818964:1827611 (outdated) -->
+<!-- English Revision: 1818964:1828061 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by: Orhan Berent <berent belgeler.gen.tr>
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/directives.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/directives.html.en?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/directives.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/directives.html.en Fri Mar 30 12:48:02 2018
@@ -517,6 +517,7 @@
<li><a href="mod_alias.html#redirectpermanent">RedirectPermanent</a></li>
<li><a href="mod_alias.html#redirecttemp">RedirectTemp</a></li>
<li><a href="mod_reflector.html#reflectorheader">ReflectorHeader</a></li>
+<li><a href="core.html#regexdefaultoptions">RegexDefaultOptions</a></li>
<li><a href="core.html#registerhttpmethod">RegisterHttpMethod</a></li>
<li><a href="mod_remoteip.html#remoteipheader">RemoteIPHeader</a></li>
<li><a href="mod_remoteip.html#remoteipinternalproxy">RemoteIPInternalProxy</a></li>
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.html.en?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.html.en Fri Mar 30 12:48:02 2018
@@ -125,7 +125,7 @@ version 2.3.14 and earlier.</td></tr>
(usually the case on Linux and FreeBSD), the socket is not sent to the
server process before at least one byte (or the whole request for
<code>httpready</code>) is received. The header timeout configured with
- <code>RequestReadTimeout</code> is only effective after the server process has
+ <code class="directive">RequestReadTimeout</code> is only effective after the server process has
received the socket.</p>
<p>For each of the two timeout types (header or body), there are three ways
@@ -142,7 +142,7 @@ version 2.3.14 and earlier.</td></tr>
body, respectively. A value of 0 means no limit.</p>
</li>
- <li><strong>Disable module for a vhost:</strong>:<br />
+ <li><strong>Disable module for a vhost</strong>:<br />
<div class="example"><p><code>header=0 body=0</code></p></div>
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.fr
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.fr?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.fr [utf-8] (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.fr [utf-8] Fri Mar 30 12:48:02 2018
@@ -1,7 +1,7 @@
<?xml version="1.0"?>
<!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
<?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1334024 -->
+<!-- English Revision: 1334024:1827779 (outdated) -->
<!-- French translation : Lucien GENTIS -->
<!-- Reviewed by : Vincent Deffontaines -->
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.meta
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.meta?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.meta (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_reqtimeout.xml.meta Fri Mar 30 12:48:02 2018
@@ -8,6 +8,6 @@
<variants>
<variant>en</variant>
- <variant>fr</variant>
+ <variant outdated="yes">fr</variant>
</variants>
</metafile>
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.html.en?rev=1828063&r1=1828062&r2=1828063&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.html.en (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_rewrite.html.en Fri Mar 30 12:48:02 2018
@@ -302,7 +302,7 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
<code class="directive"><a href="../mod/core.html#usecanonicalphysicalport">UseCanonicalPhysicalPort</a></code>
respectively.</p>
- <p>Those that are special to mod_rewrite include those below.</p>
+ <p>Those that are special to <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> include those below.</p>
<dl>
<dt><code>API_VERSION</code></dt>
@@ -455,9 +455,9 @@ AliasMatch "^/myapp" "/opt/myapp-1.2.3"
per-server context (<code>httpd.conf</code> file) you must
use <code>%{LA-U:REMOTE_USER}</code> - this
variable is set by the authorization phases, which come
- <em>after</em> the URL translation phase (during which mod_rewrite
- operates).</p>
- <p>On the other hand, because mod_rewrite implements
+ <em>after</em> the URL translation phase (during which
+ <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> operates).</p>
+ <p>On the other hand, because <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> implements
its per-directory context (<code>.htaccess</code> file) via
the Fixup phase of the API and because the authorization
phases come <em>before</em> this phase, you just can use
@@ -690,7 +690,7 @@ RewriteRule "^/images" "-" [F]</pre>
<p>You can also set special flags for <em>CondPattern</em> by appending
<strong><code>[</code><em>flags</em><code>]</code></strong>
- as the third argument to the <code>RewriteCond</code>
+ as the third argument to the <code class="directive">RewriteCond</code>
directive, where <em>flags</em> is a comma-separated list of any of the
following flags:</p>
@@ -789,10 +789,13 @@ RewriteRule "^/$" "/hom
<table class="directive">
<tr><th><a href="directive-dict.html#Description">Description:</a></th><td>Defines a mapping function for key-lookup</td></tr>
<tr><th><a href="directive-dict.html#Syntax">Syntax:</a></th><td><code>RewriteMap <em>MapName</em> <em>MapType</em>:<em>MapSource</em>
+ [<em>MapTypeOptions</em>]
</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>Extension</td></tr>
<tr><th><a href="directive-dict.html#Module">Module:</a></th><td>mod_rewrite</td></tr>
+<tr><th><a href="directive-dict.html#Compatibility">Compatibility:</a></th><td>The 3rd parameter, MapTypeOptions, in only available from Apache
+2.4.29 and later</td></tr>
</table>
<p>The <code class="directive">RewriteMap</code> directive defines a
<em>Rewriting Map</em> which can be used inside rule
@@ -829,11 +832,16 @@ RewriteRule "^/$" "/hom
<p>You would then be able to use this map in a
- <code class="directive">RewriteRule</code> as follows:</p>
+ <code class="directive"><a href="#rewriterule">RewriteRule</a></code> as follows:</p>
<pre class="prettyprint lang-config">RewriteRule "^/ex/(.*)" "${examplemap:$1}"</pre>
+ <p>The meaning of the <em>MapTypeOptions</em> argument depends on
+ particular <em>MapType</em>. See the
+ <a href="../rewrite/rewritemap.html">Using RewriteMap</a> for
+ more information.</p>
+
<p>The following combinations for <em>MapType</em> and
<em>MapSource</em> can be used:</p>
@@ -1076,7 +1084,7 @@ RewriteRule "^/$" "/hom
this context only match against the portion of the currently mapped filesystem path
"below" where the rule is defined.</p>
- <p>Directives such as <code class="directive">DocumentRoot</code> and <code class="directive">Alias</code>, or even the
+ <p>Directives such as <code class="directive"><a href="../mod/core.html#documentroot">DocumentRoot</a></code> and <code class="directive"><a href="../mod/mod_alias.html#alias">Alias</a></code>, or even the
result of previous <code class="directive">RewriteRule</code> substitutions, determine
the currently mapped filesystem path.
</p>
@@ -1125,7 +1133,7 @@ to break in these contexts is relative s
the <a href="../rewrite/intro.html#regex">mod_rewrite
Introduction</a>.</p>
- <p>In mod_rewrite, the NOT character
+ <p>In <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>, the NOT character
('<code>!</code>') is also available as a possible pattern
prefix. This enables you to negate a pattern; to say, for instance:
``<em>if the current URL does <strong>NOT</strong> match this
@@ -1389,7 +1397,7 @@ cannot use <code>$N</code> in the substi
<div class="note"><h3>Home directory expansion</h3>
<p> When the substitution string begins with a string
-resembling "/~user" (via explicit text or backreferences), mod_rewrite performs
+resembling "/~user" (via explicit text or backreferences), <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> performs
home directory expansion independent of the presence or configuration
of <code class="module"><a href="../mod/mod_userdir.html">mod_userdir</a></code>.</p>