diff options
author | André Malo <nd@apache.org> | 2014-02-05 23:28:30 +0100 |
---|---|---|
committer | André Malo <nd@apache.org> | 2014-02-05 23:28:30 +0100 |
commit | cc5367ee69671c28f3e20d0d33b3b3c2898fc156 (patch) | |
tree | 40870a6d91c4d4b236fb54f4d3268bb4003d56cf /docs/manual/mod/mod_version.html.en | |
parent | this is not a quote. (diff) | |
download | apache2-cc5367ee69671c28f3e20d0d33b3b3c2898fc156.tar.xz apache2-cc5367ee69671c28f3e20d0d33b3b3c2898fc156.zip |
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1564960 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_version.html.en')
-rw-r--r-- | docs/manual/mod/mod_version.html.en | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/docs/manual/mod/mod_version.html.en b/docs/manual/mod/mod_version.html.en index 749a672323..dde92d40e9 100644 --- a/docs/manual/mod/mod_version.html.en +++ b/docs/manual/mod/mod_version.html.en @@ -40,15 +40,13 @@ allows a flexible version checking including numeric comparisons and regular expressions.</p> - <div class="example"><h3>Examples</h3><pre class="prettyprint lang-config"> -<IfVersion 2.4.2> + <div class="example"><h3>Examples</h3><pre class="prettyprint lang-config"><IfVersion 2.4.2> # current httpd version is exactly 2.4.2 </IfVersion> <IfVersion >= 2.5> # use really new features :-) -</IfVersion> - </pre> +</IfVersion></pre> </div> <p>See below for further possibilities.</p> @@ -94,12 +92,10 @@ <td>httpd version is less or equal</td></tr> </table> - <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"> -<IfVersion >= 2.3> + <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"><IfVersion >= 2.3> # this happens only in versions greater or # equal 2.3.0. -</IfVersion> - </pre> +</IfVersion></pre> </div> <p>Besides the numerical comparison it is possible to match a @@ -115,21 +111,17 @@ <code><var>regex</var></code></td></tr> </table> - <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"> -<IfVersion = /^2.4.[01234]$/> + <div class="example"><h3>Example</h3><pre class="prettyprint lang-config"><IfVersion = /^2.4.[01234]$/> # e.g. workaround for buggy versions -</IfVersion> - </pre> +</IfVersion></pre> </div> <p>In order to reverse the meaning, all operators can be preceded by an exclamation mark (<code>!</code>):</p> - <pre class="prettyprint lang-config"> -<IfVersion !~ ^2.4.[01234]$> + <pre class="prettyprint lang-config"><IfVersion !~ ^2.4.[01234]$> # not for those versions -</IfVersion> - </pre> +</IfVersion></pre> <p>If the <var>operator</var> is omitted, it is assumed to be |