.
: http://www.arcetri.astro.it/manual/ja/mod/mod_version.html
: Mon Jan 21 19:44:30 2013 : Fri Feb 28 06:54:09 2014 : IBM-866 : |
Apache HTTP ²î î¦Á 2.2
: | î¦Á |
---|---|
µîµ: | Extension |
¦î: | version_module |
îµ: | mod_version.c |
: | Apache 2.0.56 í |
î¦Á httpd Րɑ
µµîî
¦îÁ <IfVersion>
ՐϬ
î¦Á
<IfVersion 2.1.0>
# current httpd version is exactly 2.1.0
</IfVersion>
<IfVersion >= 2.2>
# use really new features :-)
</IfVersion>
: | î¦Á |
---|---|
: | <IfVersion [[!]operator] version> ...
</IfVersion> |
Áµ: | ²î, îµ, , .htaccess |
ۦ: | All |
µîµ: | Extension |
¦î: | mod_version |
<IfVersion>
httpd
î¦Á
ߡے
(Ր) version Ր
major[.minor[.patch]]
2.1.0
2.2
minor patch í
0 Ր operator
:
operator | |
---|---|
= == |
httpd î¦Á |
> |
httpd î¦Á |
>= |
httpd î¦Á |
< |
httpd î¦Á |
<= |
httpd î¦Á |
<IfVersion >= 2.1>
# this happens only in versions greater or
# equal 2.1.0.
</IfVersion>
Րhttp î¦Áϧ Ϭ Áۦֵ:
operator | |
---|---|
= or == |
version
/regex/ |
~ |
version
regex |
<IfVersion = /^2.1.[01234]$/>
# e.g. workaround for buggy versions
</IfVersion>
ÁϬî
(!
):
<IfVersion !~ ^2.1.[01234]$>
# not for those versions
</IfVersion>
operator =