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