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

:
mod_version - Apache HTTP ²î
<-
Apache > HTTP ²î > Áî§Á > î¦Á 2.2 > ¦î

Apache ¦î mod_version

:î¦Á
µîƒµ: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>

top

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

:  en  |  ja  |  ko 

top

Á

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.