Äîêóìåíò âçÿò èç êýøà ïîèñêîâîé ìàøèíû. Àäðåñ îðèãèíàëüíîãî äîêóìåíòà : http://www.arcetri.astro.it/manual/ko/mod/mod_version.html
Äàòà èçìåíåíèÿ: Mon Jan 21 19:44:30 2013
Äàòà èíäåêñèðîâàíèÿ: Fri Feb 28 06:54:03 2014
Êîäèðîâêà: ISO8859-5

Ïîèñêîâûå ñëîâà: ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï ð ï
mod_version - Apache HTTP Server
<-
Apache > HTTP Server > Documentation > Version 2.2 > È?Åò

ÎÖÖÔÔÅ È?Åò mod_version

ÀÅÄÙ×á Î?Îþ:  en  |  ja  |  ko 

ÐÜ É?Ì-ÄÒ ÓæÍÕÖ× É?Ï?ÐÜ ÎÖÄåÄßÄé. ÓæÁéÏÅ Ê?ÀöÅØ ÃËÏûÐÊ ÏÅÎþ É?Ì-È? Ò?Àý×ßÌÌÏô.
ÌÃÈý:É?Ð?ÊÀ ÌÃÑ?
Ë?ÕÒ:Extension
È?ÅòÈý:version_module
ÌâÍÊÖÔÐß:mod_version.c
Ñ?Ï?:ÎÖÖÔÔÅ 2.1 ÐÜØÔÊÞÕÝ

ÏôÎð

Ï?Ç? ÄéÈ? Ð?Ì-É? É?Ð?À? ÁÈÌÊÐË ÄéÇ÷ÎþÎï ×â Õ? ÃçÖ?Ï?À? ÕçÍÊÖ?ÏûÐÈÇÞ Ë÷Ïû×ßÁòÐ?×è ÐÜ È?ÅòÐË ÈÈÅùÎ?Äé. ÐÜ È?ÅòÐÊ ÌÐê ÊåÁÃÃ? Ñ?Áä×?×?ÍÔÐË Ë÷Ïû×ßÏ? ÐêÐ?ÇÞÏþ É?Ð? ÀÛË÷ÀÅ ÀÅÄÙ×á <IfVersion>ÐË Ñ?À?×áÄé.

ÏÉÑ?

<IfVersion 2.1.0>
# ×?Ð÷ Ð?Ì-É? É?Ð?ÐÊ Ñ?Ø?Ø? 2.1.0ÐÜÄé
</IfVersion>

<IfVersion >= 2.2>
# Ñ?Ò? Ë?ÇÞÏþ ÁòÄÙÐË Ë÷Ïû×áÄé :-)
</IfVersion>

ÄéÈ? Ë÷ÏûÉÐÊ ÎÖÇÅÈ? Ò?Àý×áÄé.

Ñ?ÍÓÎþÅù

top

<IfVersion> Ñ?ÍÓÎþ

ÌÃÈý:É?Ð?ÊÀ ÌÃÑ?ÐË É-ÄÒÄé
É?É:<IfVersion [[!]operator] version> ... </IfVersion>
Ë÷ÏûÐõÌâ:ÑæÌ-É?ÌÃÑ?, ÀÅË?Ø?ÍÊÖ?, directory, .htaccess
Override ÏÙÌ×:All
Ë?ÕÒ:Extension
È?Åò:mod_version

<IfVersion> ÌÍÌ×ÐÊ Ð?Ì-É? É?Ð?ÐÜ Ï?×ßÄÒ ÑÆÀ×ÐË ÈÈÑÇ×âÆ?ÈÈ Í××ð×â ÌÃÑ? Ñ?ÍÓÎþÈ? É-ÄÒÄé. ÐßÉíÐ?ÐÞ (ÌÐê) ÊåÁÃÐ× ÀöÏü version ÎÖÁäÈåÖ?ÄÒ 2.1.0ÐÜÃ? 2.2ÏÝ ÀÀÐÜ major[.minor[.patch]] ×?ÍÔÐÜÄé. minorÏÝ patchÄÒ Î?ÎþÅÅ ÅØÄé. ÐÜÅù ÌÐêÀÅ Î?ÄéÈù 0ÐÜÆ?Àý ÀÅÑ?×áÄé. ÄéÐÍÀ? ÀÀÐÊ ÌÐê operatorÀÅ ÀÅÄÙ×ßÄé.

operatorÌÃÈý
= Ø?ÐÊ == ÅÏÐß×á Ð?Ì-É? É?Ð?
> ÊÈÄé Õ? Ð?Ì-É? É?Ð?
>= Õ?ÀÕÃ? ÀÀÐÊ Ð?Ì-É? É?Ð?
< ÊÈÄé ÐëÐÊ Ð?Ì-É? É?Ð?
<= ÐëÀÕÃ? ÀÀÐÊ Ð?Ì-É? É?Ð?

ÏÉÑ?

<IfVersion >= 2.1>
# É?Ð?ÐÜ 2.1.0 ÊÈÄé Õ?ÀÕÃ? ÀÀÐËÆ?ÈÈ
# Í××ð×áÄé.
</IfVersion>

ÌÐê ÊåÁÃÏìÏÅÅÅ Ñ?Áä×?×?ÍÔÐË Ë÷Ïû×ßÏ? Ð?Ì-É? É?Ð?ÐË Ñ?Ñ?×â Ì? ÐæÄé. Ï?ÁòÏÅÄÒ ÅÞÀÅÑ? ÉöÉÐÜ ÐæÄé.

operatorÌÃÈý
= Ø?ÐÊ == versionÐÊ /regex/ ×?ÍÔÐÜÄé
~ versionÐÊ regex ×?ÍÔÐÜÄé

ÏÉÑ?

<IfVersion = /^2.1.[01234]$/>
# ÏÉÈ? ÅùÎþ, Ï?ÁòÏÅ É?ÁçÀÅ ÐæÄÒ Ö?Ñ? É?Ð?ÏÅ Äû×á ×èÀñÓ?ÐÜ Ã?ÏÒÄé </IfVersion>

Ï?ËúÐê ÎåÏÅ ÄÐÃ?×?(!)È? ÎÂÈù Ð×ÉÜÈ? ÉíÄûÇÞ ×èÌ?×áÄé.

<IfVersion !~ ^2.1.[01234]$>
# ÐÜ É?Ð?ÐÜ ÎÖÄßÈù
</IfVersion>

operatorÈ? ËÇ?×ßÈù =ÐÜÆ?Àý ËÀ?×áÄé.

ÀÅÄÙ×á Î?Îþ:  en  |  ja  |  ko 

top

Comments

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.