summaryrefslogtreecommitdiffstats
path: root/docs/manual/mod/mod_version.html.en
diff options
context:
space:
mode:
authorAndré Malo <nd@apache.org>2014-02-05 23:28:30 +0100
committerAndré Malo <nd@apache.org>2014-02-05 23:28:30 +0100
commitcc5367ee69671c28f3e20d0d33b3b3c2898fc156 (patch)
tree40870a6d91c4d4b236fb54f4d3268bb4003d56cf /docs/manual/mod/mod_version.html.en
parentthis is not a quote. (diff)
downloadapache2-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.en24
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">
-&lt;IfVersion 2.4.2&gt;
+ <div class="example"><h3>Examples</h3><pre class="prettyprint lang-config">&lt;IfVersion 2.4.2&gt;
# current httpd version is exactly 2.4.2
&lt;/IfVersion&gt;
&lt;IfVersion &gt;= 2.5&gt;
# use really new features :-)
-&lt;/IfVersion&gt;
- </pre>
+&lt;/IfVersion&gt;</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">
-&lt;IfVersion &gt;= 2.3&gt;
+ <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">&lt;IfVersion &gt;= 2.3&gt;
# this happens only in versions greater or
# equal 2.3.0.
-&lt;/IfVersion&gt;
- </pre>
+&lt;/IfVersion&gt;</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">
-&lt;IfVersion = /^2.4.[01234]$/&gt;
+ <div class="example"><h3>Example</h3><pre class="prettyprint lang-config">&lt;IfVersion = /^2.4.[01234]$/&gt;
# e.g. workaround for buggy versions
-&lt;/IfVersion&gt;
- </pre>
+&lt;/IfVersion&gt;</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">
-&lt;IfVersion !~ ^2.4.[01234]$&gt;
+ <pre class="prettyprint lang-config">&lt;IfVersion !~ ^2.4.[01234]$&gt;
# not for those versions
-&lt;/IfVersion&gt;
- </pre>
+&lt;/IfVersion&gt;</pre>
<p>If the <var>operator</var> is omitted, it is assumed to be