blob: ed4726a188f41ee9afc24c0ef67f01fcee193fe3 (
plain)
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
|
<?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:151408 (outdated) -->
<!--
Copyright 2003-2005 The Apache Software Foundation or its licensors,
as applicable.
Licensed 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="index.xml.meta">
<title>¾ÆÆÄÄ¡ °¡»óÈ£½ºÆ® ¹®¼</title>
<summary>
<p><cite>°¡»óÈ£½ºÆ® (Virtual Host)</cite>´Â ÇÑ ÄÄÇ»ÅÍ¿¡¼
¿©·¯ À¥»çÀÌÆ®¸¦ (¿¹¸¦ µé¾î, <code>www.company1.com</code>°ú
<code>www.company2.com</code>) ¼ºñ½ºÇÔÀ» ¶æÇÑ´Ù.
°¡»óÈ£½ºÆ®¿¡´Â °¢ À¥»çÀÌÆ®¸¶´Ù ´Ù¸¥ IP ÁÖ¼Ò¸¦ »ç¿ëÇÏ´Â
"<a href="ip-based.html">IP±â¹Ý (IP-based)</a>" ¹æ½Ä°ú ÇÑ
IP ÁÖ¼Ò´ç ¿©·¯ À̸§À» °¡Áö´Â "<a
href="name-based.html">À̸§±â¹Ý (name-based)</a>" ¹æ½ÄÀÌ
ÀÖ´Ù. ¿©·¯ »çÀÌÆ®µéÀÌ °°Àº ¼¹ö¿¡¼ µ¹°íÀÖ´Ù´Â »ç½ÇÀ» À¥»ç¿ëÀÚ´Â
´«Ä¡Ã¤Áö ¸øÇÑ´Ù.</p>
<p>¾ÆÆÄÄ¡´Â ±âº»À¸·Î IP±â¹Ý °¡»óÈ£½ºÆ®¸¦ Áö¿øÇÑ ÃÊâ±â
¼¹öµéÁß Çϳª´Ù. ¾ÆÆÄÄ¡ ¹öÀü 1.1 ÀÌ»óÀº IP±â¹Ý°ú À̸§±â¹Ý
°¡»óÈ£½ºÆ®¸¦ ¸ðµÎ Áö¿øÇÑ´Ù. À̸§±â¹Ý °¡»óÈ£½ºÆ®¸¦
<em>È£½ºÆ®±â¹Ý (host-based)</em> ¶Ç´Â <em>ºñIP °¡»óÈ£½ºÆ®
(non-IP virtual hosts)</em>¶ó°íµµ ºÎ¸¥´Ù.</p>
<p>´ÙÀ½Àº ¾ÆÆÄÄ¡ ¹öÀü 1.3 ÀÌ»óÀÇ °¡»óÈ£½ºÆ® Áö¿øÀ» ÀÚ¼¼È÷
¼³¸íÇÑ ¹®¼µéÀÌ´Ù.</p>
</summary>
<seealso><module>mod_vhost_alias</module></seealso>
<seealso><a href="name-based.html">À̸§±â¹Ý °¡»óÈ£½ºÆ®</a></seealso>
<seealso><a href="ip-based.html">IP±â¹Ý °¡»óÈ£½ºÆ®</a></seealso>
<seealso><a href="examples.html">°¡»óÈ£½ºÆ® ¿¹</a></seealso>
<seealso><a href="fd-limits.html">ÆÄÀϱâ¼úÀÚ ÇÑ°è</a></seealso>
<seealso><a href="mass.html">´ë·®ÀÇ °¡»óÈ£½ºÆ®</a></seealso>
<seealso><a href="details.html">°¡»óÈ£½ºÆ® ã±â¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ¼³¸í</a></seealso>
<section id="support"><title>°¡»óÈ£½ºÆ® Áö¿ø</title>
<ul>
<li><a href="name-based.html">À̸§±â¹Ý °¡»óÈ£½ºÆ®</a>
(IP ÁÖ¼Ò´ç ¿©·¯ À¥»çÀÌÆ®)</li>
<li><a href="ip-based.html">IP±â¹Ý °¡»óÈ£½ºÆ®</a> (°¢
À¥»çÀÌÆ®¸¶´Ù IP ÁÖ¼Ò)</li>
<li><a href="examples.html">ÀϹÝÀûÀÎ °¡»óÈ£½ºÆ® ¿¹</a></li>
<li><a href="fd-limits.html">ÆÄÀϱâ¼úÀÚ(file descriptor)
ÇÑ°è</a> (Áï, <em>³Ê¹« ¸¹Àº ·Î±×ÆÄÀÏ</em>)</li>
<li><a href="mass.html">´ë·®ÀÇ °¡»óÈ£½ºÆ®¸¦ µ¿ÀûÀ¸·Î
¼³Á¤Çϱâ</a></li>
<li><a href="details.html">°¡»óÈ£½ºÆ® ã±â¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ
¼³¸í</a></li>
</ul>
</section>
<section id="directives"><title>¼³Á¤ Áö½Ã¾î</title>
<ul>
<li><directive type="section"
module="core">VirtualHost</directive></li>
<li><directive module="core">NameVirtualHost</directive></li>
<li><directive module="core">ServerName</directive></li>
<li><directive module="core">ServerAlias</directive></li>
<li><directive module="core">ServerPath</directive></li>
</ul>
<p>°¡»óÈ£½ºÆ® ¼³Á¤À» Å×½ºÆ®ÇÒ¶§ ¾ÆÆÄÄ¡ÀÇ <code>-S</code>
¸í·ÉÇà ¿É¼ÇÀÌ À¯¿ëÇÏ´Ù. Áï, ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÑ´Ù:</p>
<example>
/usr/local/apache2/bin/httpd -S
</example>
<p>ÀÌ ¸í·É¾î´Â ¾ÆÆÄÄ¡°¡ ÀÐÀº ¼³Á¤ÆÄÀÏ¿¡ ´ëÇÑ
Á¤º¸¸¦ Ãâ·ÂÇÑ´Ù. IP ÁÖ¼Ò¿Í ¼¹ö¸íÀ» ÀÚ¼¼È÷ »ìÆ캸¸é ¼³Á¤¿¡¼
½Ç¼ö¸¦ ¹ß°ßÇϴµ¥ µµ¿òÀÌ µÉ °ÍÀÌ´Ù. (´Ù¸¥ ¸í·ÉÇà ¿É¼ÇµéÀº
<a href="../programs/httpd.html">httpd ÇÁ·Î±×·¥ ¹®¼</a>¸¦
Âü°íÇ϶ó.)</p>
</section>
</manualpage>
|