1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
<?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:1784325 (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>
|