GCS Amplitude
GCS Amplitude

Apache Module mod_version

current httpd version is exactly 2.4.2 = 2.5>

use really new features :-)

this happens only in versions greater or

equal 2.3.0.

e.g. workaround for buggy versions

not for those versions

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 --

, which allows a flexible version checking including numeric comparisons and regular expressions.

See below for further possibilities.

section encloses configuration directives which are executed only if the

version matches the desired criteria. For normal (numeric) comparisons the httpdversion argument has the format

, e.g. major[.minor[.patch]]2.1.0

. minor and patch are optional. If these numbers are omitted, they are assumed to be zero. The following numerical operators are possible:

operator | description | |---|---| = or == | httpd version is equal | > | httpd version is greater than | >= | httpd version is greater or equal | < | httpd version is less than | <= | httpd version is less or equal |

Besides the numerical comparison it is possible to match a regular expression against the httpd version. There are two ways to write it:

In order to reverse the meaning, all operators can be preceded by an exclamation mark (!

Modules | Directives | FAQ | Glossary | Sitemap

Apache HTTP Server Version 2.4

Modules

Modules | Directives | FAQ | Glossary | Sitemap

Apache Module mod_version

Available Languages: en | ja | ko

en

Available Languages: en | ja | ko

Apache License, Version 2.0

Copyright 2014 The Apache Software Foundation.Licensed under the Apache License, Version 2.0.