]> granicus.if.org Git - apache/blob - docs/manual/vhosts/ip-based.xml.ko
xforms
[apache] / docs / manual / vhosts / ip-based.xml.ko
1 <?xml version='1.0' encoding='EUC-KR' ?>
2 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4 <!-- English Revision: 105989:752951 (outdated) -->
5
6 <!--
7  Licensed to the Apache Software Foundation (ASF) under one or more
8  contributor license agreements.  See the NOTICE file distributed with
9  this work for additional information regarding copyright ownership.
10  The ASF licenses this file to You under the Apache License, Version 2.0
11  (the "License"); you may not use this file except in compliance with
12  the License.  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 <manualpage metafile="ip-based.xml.meta">
24 <parentdocument href="./">°¡»óÈ£½ºÆ®</parentdocument>
25    <title>¾ÆÆÄÄ¡ IP±â¹Ý °¡»óÈ£½ºÆ® Áö¿ø</title>
26
27 <seealso>
28 <a href="name-based.html">À̸§±â¹Ý °¡»óÈ£½ºÆ® Áö¿ø</a>
29 </seealso>
30
31 <section id="requirements"><title>½Ã½ºÅÛ ¿ä±¸»çÇ×</title>
32
33     <p><cite>IP±â¹Ý</cite>À̶õ ¸»ÀÌ ÀǹÌÇϵíÀÌ ¼­¹ö´Â
34     <strong>IP±â¹Ý °¡»óÈ£½ºÆ® °¢°¢¿¡ ´ëÇØ ´Ù¸¥ IP ÁÖ¼Ò¸¦
35     °¡Á®¾ßÇÑ´Ù</strong>. À̴ ÄÄÇ»Å͸¦ ¹°¸®ÀûÀ¸·Î ¿©·¯ ³×Æ®¿÷¿¡
36     ¿¬°áÇϰųª, ÃÖ±Ù ¿î¿µÃ¼Á¦¿¡¼­ Áö¿øÇϴ °¡»ó ÀÎÅÍÆäÀ̽º¸¦
37     (ÀÚ¼¼ÇÑ ³»¿ëÀº ½Ã½ºÅÛ ¹®¼­¸¦ Âü°íÇ϶ó. ÈçÈ÷ "ip aliases"¶ó°í
38     Çϸç, º¸Åë "ifconfig" ¸í·É¾î·Î ¸¸µç´Ù) »ç¿ëÇÏ¿© °¡´ÉÇÏ´Ù.</p>
39
40 </section>
41
42 <section id="howto"><title>¾ÆÆÄÄ¡ ¼³Á¤¹æ¹ý</title>
43
44     <p>¿©·¯ È£½ºÆ®¸¦ Áö¿øÇϵµ·Ï ¾ÆÆÄÄ¡¸¦ ¼³Á¤Çϴ ¹æ¹ýÀº µÎ°¡Áö´Ù.
45     Çϳª´Â °¢ È£½ºÆ®¸¶´Ù º°µµÀÇ À¥¼­¹ö¸¦ ½ÇÇàÇÏ´Â
46     ¹ýÀÌ°í, ´Ù¸¥ Çϳª´Â ¸ðµç °¡»óÈ£½ºÆ®¸¦ Áö¿øÇϴ ¼­¹ö ÇÑ°³¸¦
47     ½ÇÇàÇϴ ¹æ¹ýÀÌ´Ù.</p>
48
49     <p>¾ðÁ¦ ¿©·¯ ¼­¹ö¸¦ »ç¿ëÇϳª:</p>
50
51     <ul>
52       <li>ȸ»ç2ÀÇ »ç¿ëÀÚ°¡ À¥ÀÌ¿ÜÀÇ ¹æ¹ýÀ¸·Î È¸»ç1ÀÇ ÀڷḦ ÀÐÀ»
53       ¼ö ¾ø°Ô Çϴ µî º¸¾È»ó ±¸ºÐÀÌ ÇÊ¿äÇÑ °æ¿ì. ÀÌ °æ¿ì
54       µÎ ¼­¹ö¸¦ °¢°¢ ´Ù¸¥ <directive
55       module="mpm_common">User</directive>, <directive
56       module="mpm_common">Group</directive>, <directive
57       module="mpm_common">Listen</directive>, <directive
58       module="core">ServerRoot</directive> ¼³Á¤À¸·Î ½ÇÇàÇؾߠÇÑ´Ù.</li>
59
60       <li>ÃæºÐÇÑ ¸Þ¸ð¸®°¡ ÀÖ°í, ÄÄÇ»ÅÍÀÇ ¸ðµç IP¸¦ ±â´Ù¸®±âÀ§ÇÑ
61       ÆÄÀϱâ¼úÀÚ(file descriptor) ¿ä±¸»çÇ×µµ ¸¸Á·ÇÑ´Ù. "¿ÍÀϵåÄ«µå"³ª
62       Æ¯Á¤ ÁÖ¼Ò¸¦ <directive
63       module="mpm_common">Listen</directive>ÇÒ ¼ö¸¸ ÀÖ´Ù. ±×·¡¼­
64       ¾î¶² ÀÌÀ¯¿¡¼­°Ç Æ¯Á¤ ÁÖ¼Ò¸¦ ±â´Ù¸± ÇÊ¿ä°¡ ÀÖ´Ù¸é, (ÇÑ
65       À¥¼­¹ö°¡ ÇÑ ÁÖ¼Ò¸¦ Á¦¿ÜÇÑ ¸ðµç ÁÖ¼Ò¸¦ ±â´Ù¸®°í ´Ù¸¥ ÇÑ
66       À¥¼­¹ö°¡ Á¦¿ÜÇÑ ÁÖ¼Ò¸¦ ±â´Ù¸± ¼ö ÀÖÁö¸¸) ÁöÁ¤ÇÑ ÁÖ¼Ò
67       ¸ðµÎ¸¦ ±â´Ù·Á¾ß ÇÑ´Ù.</li>
68     </ul>
69
70     <p>¾ðÁ¦ ¼­¹ö ÇÑ°³¸¦ »ç¿ëÇϳª:</p>
71
72     <ul>
73       <li>°¡»óÈ£½ºÆ®µéÀÇ À¥¼­¹ö ¼³Á¤À» °øÀ¯ÇÒ ¼ö Àִ °æ¿ì.</li>
74
75       <li>ÄÄÇ»ÅÍ°¡ ¸Å¿ì ¸¹Àº ¿äûÀ» ¼­ºñ½ºÇѴٸ頿©·¯ ¼­¹ö¸¦
76       ½ÇÇàÇϱ⿡ ¼Óµµ ¼Õ½ÇÀ̠Ŭ ¼ö ÀÖ´Ù.</li>
77     </ul>
78
79 </section>
80
81 <section id="multiple"><title>¿©·¯ ¼­¹ö¸¦ ½ÇÇàÇϱâ</title>
82
83     <p>°¢ °¡»óÈ£½ºÆ®º°·Î À¥¼­¹ö¸¦ ¼³Ä¡ÇÑ´Ù. ¼³Á¤ÆÄÀÏÀÇ
84     <directive module="mpm_common">Listen</directive> Áö½Ã¾î¿¡
85     ¼­¹ö°¡ ¼­ºñ½ºÇÒ IP ÁÖ¼Ò(ȤÀº °¡»óÈ£½ºÆ®)¸¦ Àû¾îÁØ´Ù. ¿¹¸¦
86     µé¸é,</p>
87
88     <example>
89     Listen www.smallco.com:80
90     </example>
91
92     <p>È£½ºÆ®¸í º¸´Ù´Â IP ÁÖ¼Ò¸¦ »ç¿ëÇϱ根ٶõ´Ù.
93     (<a href="../dns-caveats.html">DNS ¹®Á¦</a> Âü°í)</p>
94
95 </section>
96
97 <section id="single"><title>¼­¹ö Çϳª·Î °¡»óÈ£½ºÆ® ½ÇÇàÇϱâ</title>
98
99     <p>ÀÌ °æ¿ì À¥¼­¹ö ÇÑ°³·Î ÁÖ¼­¹ö¿Í ¸ðµç °¡»óÈ£½ºÆ®¿¡ ´ëÇÑ
100     ¿äûÀ» ¼­ºñ½ºÇÑ´Ù. ¼³Á¤ÆÄÀÏÀÇ <directive
101     module="core">VirtualHost</directive> Áö½Ã¾î¿¡ °¡»óÈ£½ºÆ®¸¶´Ù
102     ´Ù¸¥ <directive module="core">ServerAdmin</directive>,
103     <directive module="core">ServerName</directive>, <directive
104     module="core">DocumentRoot</directive>, <directive
105     module="core">ErrorLog</directive>, <directive
106     module="mod_log_config">TransferLog</directive>,
107     <directive module="mod_log_config">CustomLog</directive>
108     Áö½Ã¾î °ªÀ» ¼³Á¤ÇÑ´Ù. ¿¹¸¦ µé¸é,</p>
109
110     <example>
111     &lt;VirtualHost www.smallco.com&gt;<br />
112     ServerAdmin webmaster@mail.smallco.com<br />
113     DocumentRoot /groups/smallco/www<br />
114     ServerName www.smallco.com<br />
115     ErrorLog /groups/smallco/logs/error_log<br />
116     TransferLog /groups/smallco/logs/access_log<br />
117     &lt;/VirtualHost&gt;<br />
118                 <br />
119     &lt;VirtualHost www.baygroup.org&gt;<br />
120     ServerAdmin webmaster@mail.baygroup.org<br />
121     DocumentRoot /groups/baygroup/www<br />
122     ServerName www.baygroup.org<br />
123     ErrorLog /groups/baygroup/logs/error_log<br />
124     TransferLog /groups/baygroup/logs/access_log<br />
125     &lt;/VirtualHost&gt;
126                 </example>
127
128     <p>È£½ºÆ®¸í º¸´Ù´Â IP ÁÖ¼Ò¸¦ »ç¿ëÇϱ根ٶõ´Ù.
129     (<a href="../dns-caveats.html">DNS ¹®Á¦</a> Âü°í)</p>
130
131     <p>VirtualHost Áö½Ã¾î ¾È¿¡¼­´Â ÇÁ·Î¼¼½º »ý¼º°ú ±âŸ ¸î¸î Áö½Ã¾î¸¦
132     Á¦¿ÜÇÏ°í °ÅÀÇ <strong>¸ðµç</strong> ¼³Á¤Áö½Ã¾î¸¦ »ç¿ëÇÒ
133     ¼ö ÀÖ´Ù. VirtualHost Áö½Ã¾î ¾È¿¡¼­ Áö½Ã¾î¸¦ »ç¿ëÇÒ ¼ö ÀÖ´ÂÁö
134     ¾Ë·Á¸é <a href="../mod/directives.html">Áö½Ã¾î ¸ñ·Ï</a>¿¡¼­
135     <a href="../mod/directive-dict.html#Context">»ç¿ëÀå¼Ò</a>¸¦
136     È®ÀÎÇ϶ó.</p>
137
138     <p><a href="../suexec.html">suEXEC ÇÁ·Î±×·¥</a>À»
139     »ç¿ëÇÑ´Ù¸é VirtualHost Áö½Ã¾î ¾È¿¡ <directive
140     module="mpm_common">User</directive>¿Í <directive
141     module="mpm_common">Group</directive>À» »ç¿ëÇÒ ¼ö ÀÖ´Ù.</p>
142
143     <p><em>º¸¾È:</em> ¼­¹ö¸¦ ½ÇÇàÇϴ »ç¿ëÀÚ¿Ü¿¡ ´Ù¸¥ »ç¶÷¿¡°Ô
144     ·Î±×ÆÄÀÏÀÌ Àִ µð·ºÅ丮ÀÇ ¾²±â±ÇÇÑÀÌ Àִٸ頺¸¾È
145     ¹®Á¦¸¦ Á¶½ÉÇ϶ó. ÀÚ¼¼ÇÑ ³»¿ëÀº <a
146     href="../misc/security_tips.html">º¸¾È ÆÁ</a>À» Âü°íÇ϶ó.</p>
147
148 </section>
149 </manualpage>