diff options
author | Stefan Fritsch <sf@sfritsch.de> | 2014-03-29 21:56:19 +0100 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2014-03-29 21:56:45 +0100 |
commit | 2a463b3cd73c32ee9dcd508248d0194923f435f4 (patch) | |
tree | 2ff478255a77a55031056790918b6f983bb7b20a /docs/manual/mod/mod_version.html.en | |
parent | 86d5cc79d9d6750da8771fdb0c9ab22c19b8ad45 (diff) | |
download | apache2-upstream/2.4.9.tar.gz |
Imported Upstream version 2.4.9upstream/2.4.9
Diffstat (limited to 'docs/manual/mod/mod_version.html.en')
-rw-r--r-- | docs/manual/mod/mod_version.html.en | 28 |
1 files changed, 10 insertions, 18 deletions
diff --git a/docs/manual/mod/mod_version.html.en b/docs/manual/mod/mod_version.html.en index 83a0640d..c1be0a28 100644 --- a/docs/manual/mod/mod_version.html.en +++ b/docs/manual/mod/mod_version.html.en @@ -9,7 +9,7 @@ <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 rel="stylesheet" type="text/css" href="../style/css/prettify.css" /> -<script src="../style/scripts/prettify.js" type="text/javascript"> +<script src="../style/scripts/prettify.min.js" type="text/javascript"> </script> <link href="../images/favicon.ico" rel="shortcut icon" /></head> @@ -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 @@ -159,7 +151,7 @@ var comments_identifier = 'http://httpd.apache.org/docs/2.4/mod/mod_version.html } })(window, document); //--><!]]></script></div><div id="footer"> -<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p> +<p class="apache">Copyright 2014 The Apache Software Foundation.<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="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!-- if (typeof(prettyPrint) !== 'undefined') { prettyPrint(); |