]> granicus.if.org Git - apache/blob - docs/manual/mod/mod_version.xml.ko
Update the last year of copyright.
[apache] / docs / manual / mod / mod_version.xml.ko
1 <?xml version="1.0" encoding="EUC-KR" ?>
2 <!DOCTYPE modulesynopsis SYSTEM "../style/modulesynopsis.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4 <!-- English Revision: 105989:326136 (outdated) -->
5
6 <!--
7  Copyright 2004-2006 The Apache Software Foundation or its licensors,
8                      as applicable.
9
10  Licensed under the Apache License, Version 2.0 (the "License");
11  you may not use this file except in compliance with the License.
12  You may obtain a copy of the License at
13
14      http://www.apache.org/licenses/LICENSE-2.0
15
16  Unless required by applicable law or agreed to in writing, software
17  distributed under the License is distributed on an "AS IS" BASIS,
18  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
19  See the License for the specific language governing permissions and
20  limitations under the License.
21 -->
22
23 <modulesynopsis metafile="mod_version.xml.meta">
24 <name>mod_version</name>
25 <description>¹öÀüº° ¼³Á¤</description>
26 <status>Extension</status>
27 <sourcefile>mod_version.c</sourcefile>
28 <identifier>version_module</identifier>
29 <compatibility>¾ÆÆÄÄ¡ 2.1 ÀÌÈĺÎÅÍ</compatibility>
30
31 <summary>
32     <p>¿©·¯ ´Ù¸¥ À¥¼­¹ö ¹öÀü°ú ±¸¼ºÀ» ´Ù·ç¾î¾ß ÇÒ Å« ³×Æ®¿÷°ú
33     Å×½ºÆ®¿ëÀ¸·Î »ç¿ëÇϱâÀ§ÇØ ÀÌ ¸ðµâÀ» ¸¸µé¾ú´Ù. ÀÌ ¸ðµâÀº
34     ¼ýÀÚ ºñ±³³ª Á¤±ÔÇ¥Çö½ÄÀ» »ç¿ëÇÏ¿© ÀÚÀ¯·Î¿î ¹öÀü °Ë»ç°¡ °¡´ÉÇÑ
35     <directive type="section" module="mod_version">IfVersion</directive>À»
36     Á¦°øÇÑ´Ù.</p>
37
38     <example><title>¿¹Á¦</title>
39       &lt;IfVersion 2.1.0&gt;<br />
40       <indent>
41         # ÇöÀç À¥¼­¹ö ¹öÀüÀº Á¤È®È÷ 2.1.0ÀÌ´Ù<br />
42       </indent>
43       &lt;/IfVersion&gt;<br />
44       <br />
45       &lt;IfVersion >= 2.2&gt;<br />
46       <indent>
47         # ÁøÂ¥ »õ·Î¿î ±â´ÉÀ» »ç¿ëÇÑ´Ù :-)<br />
48       </indent>
49       &lt;/IfVersion&gt;
50     </example>
51
52     <p>´Ù¸¥ »ç¿ë¹ýÀº ¾Æ·¡¸¦ Âü°íÇÑ´Ù.</p>
53 </summary>
54
55 <directivesynopsis type="section">
56 <name>IfVersion</name>
57 <description>¹öÀüº° ¼³Á¤À» ¹­´Â´Ù</description>
58 <syntax>&lt;IfVersion [[!]<var>operator</var>] <var>version</var>&gt; ...
59 &lt;/IfVersion&gt;</syntax>
60 <contextlist><context>server config</context><context>virtual host</context>
61 <context>directory</context><context>.htaccess</context></contextlist>
62 <override>All</override>
63
64 <usage>
65     <p><directive type="section">IfVersion</directive> ¼½¼ÇÀº
66     À¥¼­¹ö ¹öÀüÀÌ ¿øÇϴ Á¶°ÇÀ» ¸¸Á·ÇÒ¶§¸¸ ½ÇÇàÇÒ ¼³Á¤ Áö½Ã¾î¸¦
67     ¹­´Â´Ù. ÀϹÝÀûÀΠ(¼ýÀÚ) ºñ±³ÀÇ °æ¿ì <var>version</var> ¾Æ±Ô¸ÕÆ®´Â
68     <code>2.1.0</code>À̳ª <code>2.2</code>¿Í °°ÀÌ
69     <code><var>major</var>[.<var>minor</var>[.<var>patch</var>]]</code>
70     Çü½ÄÀÌ´Ù. <var>minor</var>¿Í <var>patch</var>´Â ¾ø¾îµµ µÈ´Ù.
71     À̵頼ýÀÚ°¡ ¾ø´Ù¸é 0À̶ó°í °¡Á¤ÇÑ´Ù. ´ÙÀ½°ú °°Àº ¼ýÀÚ
72     <var>operator</var>°¡ °¡´ÉÇÏ´Ù.</p>
73
74     <table style="zebra" border="1">
75     <tr><th><var>operator</var></th><th>¼³¸í</th></tr>
76     <tr><td><code>=</code> È¤Àº <code>==</code></td>
77         <td>µ¿ÀÏÇÑ À¥¼­¹ö ¹öÀü</td></tr>
78     <tr><td><code>&gt;</code></td>
79         <td>º¸´Ù Å« À¥¼­¹ö ¹öÀü</td></tr>
80     <tr><td><code>&gt;=</code></td>
81         <td>Å©°Å³ª °°Àº À¥¼­¹ö ¹öÀü</td></tr>
82     <tr><td><code>&lt;</code></td>
83         <td>º¸´Ù ÀÛÀº À¥¼­¹ö ¹öÀü</td></tr>
84     <tr><td><code>&lt;=</code></td>
85         <td>À۰ųª °°Àº À¥¼­¹ö ¹öÀü</td></tr>
86     </table>
87
88     <example><title>¿¹Á¦</title>
89       &lt;IfVersion >= 2.1&gt;<br />
90       <indent>
91         # ¹öÀüÀÌ 2.1.0 º¸´Ù Å©°Å³ª °°À»¶§¸¸<br />
92         # ½ÇÇàÇÑ´Ù.<br />
93       </indent>
94       &lt;/IfVersion&gt;
95     </example>
96
97     <p>¼ýÀÚ ºñ±³¿Ü¿¡µµ Á¤±ÔÇ¥Çö½ÄÀ» »ç¿ëÇÏ¿© À¥¼­¹ö ¹öÀüÀ» ÁöÁ¤ÇÒ
98     ¼ö ÀÖ´Ù. ¿©±â¿¡´Â µÎ°¡Áö ¹æ¹ýÀÌ ÀÖ´Ù.</p>
99
100     <table style="zebra" border="1">
101     <tr><th><var>operator</var></th><th>¼³¸í</th></tr>
102     <tr><td><code>=</code> È¤Àº <code>==</code></td>
103         <td><var>version</var>Àº
104             <code>/<var>regex</var>/</code> Çü½ÄÀÌ´Ù</td></tr>
105     <tr><td><code>~</code></td>
106         <td><var>version</var>Àº
107             <code><var>regex</var></code> Çü½ÄÀÌ´Ù</td></tr>
108     </table>
109
110     <example><title>¿¹Á¦</title>
111       &lt;IfVersion = /^2.1.[01234]$/&gt;<br />
112       <indent>
113         # ¿¹¸¦ µé¾î, ¿©±â¿¡ ¹ö±×°¡ Àִ ƯÁ¤ ¹öÀü¿¡ ´ëÇÑ ÇØ°áÃ¥ÀÌ ³ª¿Â´Ù
114       </indent>
115       &lt;/IfVersion&gt;
116     </example>
117
118     <p>¿¬»êÀÚ ¾Õ¿¡ ´À³¦Ç¥(<code>!</code>)¸¦ ¾²¸é Àǹ̸¦ ¹Ý´ë·Î
119     Çؼ®ÇÑ´Ù.</p>
120
121     <example>
122       &lt;IfVersion !~ ^2.1.[01234]$&gt;<br />
123       <indent>
124         # ÀÌ ¹öÀüÀÌ ¾Æ´Ï¸é<br />
125       </indent>
126       &lt;/IfVersion&gt;
127     </example>
128
129     <p><var>operator</var>¸¦ »ý·«Çϸé <code>=</code>À̶ó°í
130     »ý°¢ÇÑ´Ù.</p>
131 </usage>
132 </directivesynopsis>
133
134 </modulesynopsis>