<-
Apache > HTTP Server > Documentation > Version 2.2 > Modules

Apache Module mod_version

Available Languages:  en  |  ja  |  ko 

Description:Version dependent configuration
Status:Extension
Module Identifier:version_module
Source File:mod_version.c
Compatibility:Available in version 2.0.56 and later

Summary

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 -- <IfVersion>, which allows a flexible version checking including numeric comparisons and regular expressions.

Examples

<IfVersion 2.1.0>
# current httpd version is exactly 2.1.0
</IfVersion>

<IfVersion >= 2.2>
# use really new features :-)
</IfVersion>

See below for further possibilities.

Directives

top

<IfVersion> Directive

Description:contains version dependent configuration
Syntax:<IfVersion [