1<?xml version="1.0" encoding="EUC-KR"?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
4        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5              This file is generated from xml source: DO NOT EDIT
6        XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7      -->
8<title>����ġ IP��� ����ȣ��Ʈ ���� - Apache HTTP Server</title>
9<link href="/style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10<link href="/style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11<link href="/style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
12<script src="/style/scripts/prettify.js" type="text/javascript">
13</script>
14
15<link href="/images/favicon.ico" rel="shortcut icon" /></head>
16<body id="manual-page"><div id="page-header">
17<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p>
18<p class="apache">Apache HTTP Server Version 2.2</p>
19<img alt="" src="/images/feather.gif" /></div>
20<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
21<div id="path">
22<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.2</a> &gt; <a href="./">����ȣ��Ʈ</a></div><div id="page-content"><div id="preamble"><h1>����ġ IP��� ����ȣ��Ʈ ����</h1>
23<div class="toplang">
24<p><span>������ ���: </span><a href="/en/vhosts/ip-based.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
25<a href="/fr/vhosts/ip-based.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
26<a href="/ja/vhosts/ip-based.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
27<a href="/ko/vhosts/ip-based.html" title="Korean">&nbsp;ko&nbsp;</a> |
28<a href="/tr/vhosts/ip-based.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
29</div>
30<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
31            �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
32</div>
33<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#requirements">�ý��� �䱸����</a></li>
34<li><img alt="" src="/images/down.gif" /> <a href="#howto">����ġ �������</a></li>
35<li><img alt="" src="/images/down.gif" /> <a href="#multiple">���� ������ �����ϱ�</a></li>
36<li><img alt="" src="/images/down.gif" /> <a href="#single">���� �ϳ��� ����ȣ��Ʈ �����ϱ�</a></li>
37</ul><h3>���</h3><ul class="seealso"><li>
38<a href="name-based.html">�̸���� ����ȣ��Ʈ ����</a>
39</li></ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
40<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
41<div class="section">
42<h2><a name="requirements" id="requirements">�ý��� �䱸����</a></h2>
43
44    <p><cite>IP���</cite>�̶� ���� �ǹ��ϵ��� ������
45    <strong>IP��� ����ȣ��Ʈ ������ ���� �ٸ� IP �ּҸ�
46    �������Ѵ�</strong>. �̴� ��ǻ�͸� ���������� ���� ��Ʈ����
47    �����ϰų�, �ֱ� �ü������ �����ϴ� ���� �������̽���
48    (�ڼ��� ������ �ý��� ������ ����϶�. ���� "ip aliases"���
49    �ϸ�, ���� "ifconfig" ��ɾ�� �����) ����Ͽ� �����ϴ�.</p>
50
51</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
52<div class="section">
53<h2><a name="howto" id="howto">����ġ �������</a></h2>
54
55    <p>���� ȣ��Ʈ�� �����ϵ��� ����ġ�� �����ϴ� ����� �ΰ�����.
56    �ϳ��� �� ȣ��Ʈ���� ������ �������� �����ϴ�
57    ���̰�, �ٸ� �ϳ��� ��� ����ȣ��Ʈ�� �����ϴ� ���� �Ѱ���
58    �����ϴ� ����̴�.</p>
59
60    <p>���� ���� ������ ����ϳ�:</p>
61
62    <ul>
63      <li>ȸ��2�� ����ڰ� ���̿��� ������� ȸ��1�� �ڷḦ ����
64      �� ��� �ϴ� �� ���Ȼ� ������ �ʿ��� ���. �� ���
65      �� ������ ���� �ٸ� <code class="directive"><a href="/mod/mpm_common.html#user">User</a></code>, <code class="directive"><a href="/mod/mpm_common.html#group">Group</a></code>, <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code>, <code class="directive"><a href="/mod/core.html#serverroot">ServerRoot</a></code> �������� �����ؾ� �Ѵ�.</li>
66
67      <li>����� �޸��� �ְ�, ��ǻ���� ��� IP�� ��ٸ�������
68      ���ϱ����(file descriptor) �䱸���׵� �����Ѵ�. "���ϵ�ī��"��
69      Ư�� �ּҸ� <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code>�� ���� �ִ�. �׷���
70      � ���������� Ư�� �ּҸ� ��ٸ� �ʿ䰡 �ִٸ�, (��
71      �������� �� �ּҸ� ������ ��� �ּҸ� ��ٸ��� �ٸ� ��
72      �������� ������ �ּҸ� ��ٸ� �� ������) ������ �ּ�
73      ��θ� ��ٷ��� �Ѵ�.</li>
74    </ul>
75
76    <p>���� ���� �Ѱ��� ����ϳ�:</p>
77
78    <ul>
79      <li>����ȣ��Ʈ���� ������ ������ ������ �� �ִ� ���.</li>
80
81      <li>��ǻ�Ͱ� �ſ� ���� ��û�� �����Ѵٸ� ���� ������
82      �����ϱ⿡ �ӵ� �ս��� Ŭ �� �ִ�.</li>
83    </ul>
84
85</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
86<div class="section">
87<h2><a name="multiple" id="multiple">���� ������ �����ϱ�</a></h2>
88
89    <p>�� ����ȣ��Ʈ���� �������� ��ġ�Ѵ�. ����������
90    <code class="directive"><a href="/mod/mpm_common.html#listen">Listen</a></code> ���þ
91    ������ ������ IP �ּ�(Ȥ�� ����ȣ��Ʈ)�� ����ش�. ����
92    ���,</p>
93
94    <div class="example"><p><code>
95    Listen www.smallco.com:80
96    </code></p></div>
97
98    <p>ȣ��Ʈ�� ���ٴ� IP �ּҸ� ����ϱ� �ٶ���.
99    (<a href="/dns-caveats.html">DNS ����</a> ���)</p>
100
101</div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
102<div class="section">
103<h2><a name="single" id="single">���� �ϳ��� ����ȣ��Ʈ �����ϱ�</a></h2>
104
105    <p>�� ��� ������ �Ѱ��� �ּ����� ��� ����ȣ��Ʈ�� ����
106    ��û�� �����Ѵ�. ���������� <code class="directive"><a href="/mod/core.html#virtualhost">VirtualHost</a></code> ���þ ����ȣ��Ʈ����
107    �ٸ� <code class="directive"><a href="/mod/core.html#serveradmin">ServerAdmin</a></code>,
108    <code class="directive"><a href="/mod/core.html#servername">ServerName</a></code>, <code class="directive"><a href="/mod/core.html#documentroot">DocumentRoot</a></code>, <code class="directive"><a href="/mod/core.html#errorlog">ErrorLog</a></code>, <code class="directive"><a href="/mod/mod_log_config.html#transferlog">TransferLog</a></code>,
109    <code class="directive"><a href="/mod/mod_log_config.html#customlog">CustomLog</a></code>
110    ���þ� ���� �����Ѵ�. ���� ���,</p>
111
112    <div class="example"><p><code>
113    &lt;VirtualHost www.smallco.com&gt;<br />
114    ServerAdmin webmaster@mail.smallco.com<br />
115    DocumentRoot /groups/smallco/www<br />
116    ServerName www.smallco.com<br />
117    ErrorLog /groups/smallco/logs/error_log<br />
118    TransferLog /groups/smallco/logs/access_log<br />
119    &lt;/VirtualHost&gt;<br />
120		<br />
121    &lt;VirtualHost www.baygroup.org&gt;<br />
122    ServerAdmin webmaster@mail.baygroup.org<br />
123    DocumentRoot /groups/baygroup/www<br />
124    ServerName www.baygroup.org<br />
125    ErrorLog /groups/baygroup/logs/error_log<br />
126    TransferLog /groups/baygroup/logs/access_log<br />
127    &lt;/VirtualHost&gt;
128		</code></p></div>
129
130    <p>ȣ��Ʈ�� ���ٴ� IP �ּҸ� ����ϱ� �ٶ���.
131    (<a href="/dns-caveats.html">DNS ����</a> ���)</p>
132
133    <p>VirtualHost ���þ� �ȿ����� ���μ��� ��� ��Ÿ ��� ���þ
134    �����ϰ� ���� <strong>���</strong> �������þ �����
135    �� �ִ�. VirtualHost ���þ� �ȿ��� ���þ ����� �� �ִ���
136    �˷��� <a href="/mod/directives.html">���þ� ���</a>����
137    <a href="/mod/directive-dict.html#Context">������</a>��
138    Ȯ���϶�.</p>
139
140    <p><a href="/suexec.html">suEXEC ���α׷�</a>��
141    ����Ѵٸ� VirtualHost ���þ� �ȿ� <code class="directive"><a href="/mod/mpm_common.html#user">User</a></code>�� <code class="directive"><a href="/mod/mpm_common.html#group">Group</a></code>�� ����� �� �ִ�.</p>
142
143    <p><em>����:</em> ������ �����ϴ� ����ڿܿ� �ٸ� �������
144    �α������� �ִ� ���丮�� ��������� �ִٸ� ����
145    ������ �����϶�. �ڼ��� ������ <a href="/misc/security_tips.html">���� ��</a>�� ����϶�.</p>
146
147</div></div>
148<div class="bottomlang">
149<p><span>������ ���: </span><a href="/en/vhosts/ip-based.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
150<a href="/fr/vhosts/ip-based.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
151<a href="/ja/vhosts/ip-based.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
152<a href="/ko/vhosts/ip-based.html" title="Korean">&nbsp;ko&nbsp;</a> |
153<a href="/tr/vhosts/ip-based.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a></p>
154</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;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 <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
155<script type="text/javascript"><!--//--><![CDATA[//><!--
156var comments_shortname = 'httpd';
157var comments_identifier = 'http://httpd.apache.org/docs/2.2/vhosts/ip-based.html';
158(function(w, d) {
159    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
160        d.write('<div id="comments_thread"><\/div>');
161        var s = d.createElement('script');
162        s.type = 'text/javascript';
163        s.async = true;
164        s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
165        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
166    }
167    else { 
168        d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
169    }
170})(window, document);
171//--><!]]></script></div><div id="footer">
172<p class="apache">Copyright 2013 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
173<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
174if (typeof(prettyPrint) !== 'undefined') {
175    prettyPrint();
176}
177//--><!]]></script>
178</body></html>