|  | <?xml version='1.0' encoding='EUC-KR' ?> | 
|  | <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd"> | 
|  | <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?> | 
|  | <!-- English Revision: 105989:420990 (outdated) --> | 
|  |  | 
|  | <!-- | 
|  | Licensed to the Apache Software Foundation (ASF) under one or more | 
|  | contributor license agreements.  See the NOTICE file distributed with | 
|  | this work for additional information regarding copyright ownership. | 
|  | The ASF licenses this file to You under the Apache License, Version 2.0 | 
|  | (the "License"); you may not use this file except in compliance with | 
|  | the License.  You may obtain a copy of the License at | 
|  |  | 
|  | http://www.apache.org/licenses/LICENSE-2.0 | 
|  |  | 
|  | Unless required by applicable law or agreed to in writing, software | 
|  | distributed under the License is distributed on an "AS IS" BASIS, | 
|  | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | 
|  | See the License for the specific language governing permissions and | 
|  | limitations under the License. | 
|  | --> | 
|  |  | 
|  | <manualpage metafile="ip-based.xml.meta"> | 
|  | <parentdocument href="./">°¡»óÈ£½ºÆ®</parentdocument> | 
|  | <title>¾ÆÆÄÄ¡ IP±â¹Ý °¡»óÈ£½ºÆ® Áö¿ø</title> | 
|  |  | 
|  | <seealso> | 
|  | <a href="name-based.html">À̸§±â¹Ý °¡»óÈ£½ºÆ® Áö¿ø</a> | 
|  | </seealso> | 
|  |  | 
|  | <section id="requirements"><title>½Ã½ºÅÛ ¿ä±¸»çÇ×</title> | 
|  |  | 
|  | <p><cite>IP±â¹Ý</cite>À̶õ ¸»ÀÌ ÀǹÌÇϵíÀÌ ¼¹ö´Â | 
|  | <strong>IP±â¹Ý °¡»óÈ£½ºÆ® °¢°¢¿¡ ´ëÇØ ´Ù¸¥ IP ÁÖ¼Ò¸¦ | 
|  | °¡Á®¾ßÇÑ´Ù</strong>. ÀÌ´Â ÄÄÇ»Å͸¦ ¹°¸®ÀûÀ¸·Î ¿©·¯ ³×Æ®¿÷¿¡ | 
|  | ¿¬°áÇϰųª, ÃÖ±Ù ¿î¿µÃ¼Á¦¿¡¼ Áö¿øÇÏ´Â °¡»ó ÀÎÅÍÆäÀ̽º¸¦ | 
|  | (ÀÚ¼¼ÇÑ ³»¿ëÀº ½Ã½ºÅÛ ¹®¼¸¦ Âü°íÇ϶ó. ÈçÈ÷ "ip aliases"¶ó°í | 
|  | Çϸç, º¸Åë "ifconfig" ¸í·É¾î·Î ¸¸µç´Ù) »ç¿ëÇÏ¿© °¡´ÉÇÏ´Ù.</p> | 
|  |  | 
|  | </section> | 
|  |  | 
|  | <section id="howto"><title>¾ÆÆÄÄ¡ ¼³Á¤¹æ¹ý</title> | 
|  |  | 
|  | <p>¿©·¯ È£½ºÆ®¸¦ Áö¿øÇϵµ·Ï ¾ÆÆÄÄ¡¸¦ ¼³Á¤ÇÏ´Â ¹æ¹ýÀº µÎ°¡Áö´Ù. | 
|  | Çϳª´Â °¢ È£½ºÆ®¸¶´Ù º°µµÀÇ À¥¼¹ö¸¦ ½ÇÇàÇÏ´Â | 
|  | ¹ýÀ̰í, ´Ù¸¥ Çϳª´Â ¸ðµç °¡»óÈ£½ºÆ®¸¦ Áö¿øÇÏ´Â ¼¹ö ÇѰ³¸¦ | 
|  | ½ÇÇàÇÏ´Â ¹æ¹ýÀÌ´Ù.</p> | 
|  |  | 
|  | <p>¾ðÁ¦ ¿©·¯ ¼¹ö¸¦ »ç¿ëÇϳª:</p> | 
|  |  | 
|  | <ul> | 
|  | <li>ȸ»ç2ÀÇ »ç¿ëÀÚ°¡ À¥ÀÌ¿ÜÀÇ ¹æ¹ýÀ¸·Î ȸ»ç1ÀÇ ÀڷḦ ÀÐÀ» | 
|  | ¼ö ¾ø°Ô ÇÏ´Â µî º¸¾È»ó ±¸ºÐÀÌ ÇÊ¿äÇÑ °æ¿ì. ÀÌ °æ¿ì | 
|  | µÎ ¼¹ö¸¦ °¢°¢ ´Ù¸¥ <directive | 
|  | module="mpm_common">User</directive>, <directive | 
|  | module="mpm_common">Group</directive>, <directive | 
|  | module="mpm_common">Listen</directive>, <directive | 
|  | module="core">ServerRoot</directive> ¼³Á¤À¸·Î ½ÇÇàÇØ¾ß ÇÑ´Ù.</li> | 
|  |  | 
|  | <li>ÃæºÐÇÑ ¸Þ¸ð¸®°¡ ÀÖ°í, ÄÄÇ»ÅÍÀÇ ¸ðµç IP¸¦ ±â´Ù¸®±âÀ§ÇÑ | 
|  | ÆÄÀϱâ¼úÀÚ(file descriptor) ¿ä±¸»çÇ×µµ ¸¸Á·ÇÑ´Ù. "¿ÍÀϵåÄ«µå"³ª | 
|  | ƯÁ¤ ÁÖ¼Ò¸¦ <directive | 
|  | module="mpm_common">Listen</directive>ÇÒ ¼ö¸¸ ÀÖ´Ù. ±×·¡¼ | 
|  | ¾î¶² ÀÌÀ¯¿¡¼°Ç ƯÁ¤ ÁÖ¼Ò¸¦ ±â´Ù¸± Çʿ䰡 ÀÖ´Ù¸é, (ÇÑ | 
|  | À¥¼¹ö°¡ ÇÑ ÁÖ¼Ò¸¦ Á¦¿ÜÇÑ ¸ðµç ÁÖ¼Ò¸¦ ±â´Ù¸®°í ´Ù¸¥ ÇÑ | 
|  | À¥¼¹ö°¡ Á¦¿ÜÇÑ ÁÖ¼Ò¸¦ ±â´Ù¸± ¼ö ÀÖÁö¸¸) ÁöÁ¤ÇÑ ÁÖ¼Ò | 
|  | ¸ðµÎ¸¦ ±â´Ù·Á¾ß ÇÑ´Ù.</li> | 
|  | </ul> | 
|  |  | 
|  | <p>¾ðÁ¦ ¼¹ö ÇѰ³¸¦ »ç¿ëÇϳª:</p> | 
|  |  | 
|  | <ul> | 
|  | <li>°¡»óÈ£½ºÆ®µéÀÇ À¥¼¹ö ¼³Á¤À» °øÀ¯ÇÒ ¼ö ÀÖ´Â °æ¿ì.</li> | 
|  |  | 
|  | <li>ÄÄÇ»ÅͰ¡ ¸Å¿ì ¸¹Àº ¿äûÀ» ¼ºñ½ºÇÑ´Ù¸é ¿©·¯ ¼¹ö¸¦ | 
|  | ½ÇÇàÇϱ⿡ ¼Óµµ ¼Õ½ÇÀÌ Å¬ ¼ö ÀÖ´Ù.</li> | 
|  | </ul> | 
|  |  | 
|  | </section> | 
|  |  | 
|  | <section id="multiple"><title>¿©·¯ ¼¹ö¸¦ ½ÇÇàÇϱâ</title> | 
|  |  | 
|  | <p>°¢ °¡»óÈ£½ºÆ®º°·Î À¥¼¹ö¸¦ ¼³Ä¡ÇÑ´Ù. ¼³Á¤ÆÄÀÏÀÇ | 
|  | <directive module="mpm_common">Listen</directive> Áö½Ã¾î¿¡ | 
|  | ¼¹ö°¡ ¼ºñ½ºÇÒ IP ÁÖ¼Ò(ȤÀº °¡»óÈ£½ºÆ®)¸¦ Àû¾îÁØ´Ù. ¿¹¸¦ | 
|  | µé¸é,</p> | 
|  |  | 
|  | <example> | 
|  | Listen www.smallco.com:80 | 
|  | </example> | 
|  |  | 
|  | <p>È£½ºÆ®¸í º¸´Ù´Â IP ÁÖ¼Ò¸¦ »ç¿ëÇÏ±æ ¹Ù¶õ´Ù. | 
|  | (<a href="../dns-caveats.html">DNS ¹®Á¦</a> Âü°í)</p> | 
|  |  | 
|  | </section> | 
|  |  | 
|  | <section id="single"><title>¼¹ö Çϳª·Î °¡»óÈ£½ºÆ® ½ÇÇàÇϱâ</title> | 
|  |  | 
|  | <p>ÀÌ °æ¿ì À¥¼¹ö ÇѰ³·Î ÁÖ¼¹ö¿Í ¸ðµç °¡»óÈ£½ºÆ®¿¡ ´ëÇÑ | 
|  | ¿äûÀ» ¼ºñ½ºÇÑ´Ù. ¼³Á¤ÆÄÀÏÀÇ <directive | 
|  | module="core">VirtualHost</directive> Áö½Ã¾î¿¡ °¡»óÈ£½ºÆ®¸¶´Ù | 
|  | ´Ù¸¥ <directive module="core">ServerAdmin</directive>, | 
|  | <directive module="core">ServerName</directive>, <directive | 
|  | module="core">DocumentRoot</directive>, <directive | 
|  | module="core">ErrorLog</directive>, <directive | 
|  | module="mod_log_config">TransferLog</directive>, | 
|  | <directive module="mod_log_config">CustomLog</directive> | 
|  | Áö½Ã¾î °ªÀ» ¼³Á¤ÇÑ´Ù. ¿¹¸¦ µé¸é,</p> | 
|  |  | 
|  | <example> | 
|  | <VirtualHost www.smallco.com><br /> | 
|  | ServerAdmin webmaster@mail.smallco.com<br /> | 
|  | DocumentRoot /groups/smallco/www<br /> | 
|  | ServerName www.smallco.com<br /> | 
|  | ErrorLog /groups/smallco/logs/error_log<br /> | 
|  | TransferLog /groups/smallco/logs/access_log<br /> | 
|  | </VirtualHost><br /> | 
|  | <br /> | 
|  | <VirtualHost www.baygroup.org><br /> | 
|  | ServerAdmin webmaster@mail.baygroup.org<br /> | 
|  | DocumentRoot /groups/baygroup/www<br /> | 
|  | ServerName www.baygroup.org<br /> | 
|  | ErrorLog /groups/baygroup/logs/error_log<br /> | 
|  | TransferLog /groups/baygroup/logs/access_log<br /> | 
|  | </VirtualHost> | 
|  | </example> | 
|  |  | 
|  | <p>È£½ºÆ®¸í º¸´Ù´Â IP ÁÖ¼Ò¸¦ »ç¿ëÇÏ±æ ¹Ù¶õ´Ù. | 
|  | (<a href="../dns-caveats.html">DNS ¹®Á¦</a> Âü°í)</p> | 
|  |  | 
|  | <p>VirtualHost Áö½Ã¾î ¾È¿¡¼´Â ÇÁ·Î¼¼½º »ý¼º°ú ±âŸ ¸î¸î Áö½Ã¾î¸¦ | 
|  | Á¦¿ÜÇÏ°í °ÅÀÇ <strong>¸ðµç</strong> ¼³Á¤Áö½Ã¾î¸¦ »ç¿ëÇÒ | 
|  | ¼ö ÀÖ´Ù. VirtualHost Áö½Ã¾î ¾È¿¡¼ Áö½Ã¾î¸¦ »ç¿ëÇÒ ¼ö ÀÖ´ÂÁö | 
|  | ¾Ë·Á¸é <a href="../mod/directives.html">Áö½Ã¾î ¸ñ·Ï</a>¿¡¼ | 
|  | <a href="../mod/directive-dict.html#Context">»ç¿ëÀå¼Ò</a>¸¦ | 
|  | È®ÀÎÇ϶ó.</p> | 
|  |  | 
|  | <p><a href="../suexec.html">suEXEC ÇÁ·Î±×·¥</a>À» | 
|  | »ç¿ëÇÑ´Ù¸é VirtualHost Áö½Ã¾î ¾È¿¡ <directive | 
|  | module="mpm_common">User</directive>¿Í <directive | 
|  | module="mpm_common">Group</directive>À» »ç¿ëÇÒ ¼ö ÀÖ´Ù.</p> | 
|  |  | 
|  | <p><em>º¸¾È:</em> ¼¹ö¸¦ ½ÇÇàÇÏ´Â »ç¿ëÀÚ¿Ü¿¡ ´Ù¸¥ »ç¶÷¿¡°Ô | 
|  | ·Î±×ÆÄÀÏÀÌ ÀÖ´Â µð·ºÅ丮ÀÇ ¾²±â±ÇÇÑÀÌ ÀÖ´Ù¸é º¸¾È | 
|  | ¹®Á¦¸¦ Á¶½ÉÇ϶ó. ÀÚ¼¼ÇÑ ³»¿ëÀº <a | 
|  | href="../misc/security_tips.html">º¸¾È ÆÁ</a>À» Âü°íÇ϶ó.</p> | 
|  |  | 
|  | </section> | 
|  | </manualpage> |