home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2003 November
/
PCWorld_2003-11_cd.bin
/
Komunik
/
apache
/
apache_2.0.47-win32-x86-no_ssl.msi
/
Data.Cab
/
F251410_details.html.ko.euckr
< prev
next >
Wrap
Extensible Markup Language
|
2003-05-29
|
18KB
|
380 lines
<?xml version="1.0" encoding="EUC-KR"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
-->
<title>░í╗≤╚ú╜║╞« ├ú▒Γ┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ - Apache HTTP Server</title>
<link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
<link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
<link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
<link href="../images/favicon.ico" rel="shortcut icon" /></head>
<body id="manual-page"><div id="page-header">
<p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p>
<p class="apache">Apache HTTP Server Version 2.0</p>
<img alt="" src="../images/feather.gif" /></div>
<div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
<div id="path">
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="../">Version 2.0</a> > <a href="./">░í╗≤╚ú╜║╞«</a></div><div id="page-content"><div id="preamble"><h1>░í╗≤╚ú╜║╞« ├ú▒Γ┐í ┤δ╟╤ └┌╝╝╟╤ ╝│╕φ</h1>
<div class="toplang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/vhosts/details.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ko/vhosts/details.html" title="Korean"> ko </a></p>
</div>
<p>░í╗≤╚ú╜║╞« ─┌╡σ┤┬ <strong>╛╞╞──í 1.3</strong>┐í╝¡ ░┼└╟ ┤┘╜├
└█╝║╡╟╛·┤┘. └╠ ╣«╝¡┤┬ ╛╞╞──í░í ┐Σ├╗└╗ ╣▐└╕╕Θ ╛ε╢▓ ░í╗≤╚ú╜║╞«░í
╝¡║±╜║╟╥┴÷ ░ß┴ñ╟╧┤┬ ╣µ╣²└╗ ╝│╕φ╟╤┤┘. ╗⌡╖╬┐ε <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> ┴÷╜├╛ε╕ª ╗τ┐δ╟╧┐⌐
░í╗≤╚ú╜║╞« ╝│┴ñ└╠ 1.3 ╣÷└ⁿ └╠└ⁿ║╕┤┘ ┤⌡ ╜▒░φ ╛╚└ⁿ╟╪┴│┤┘.</p>
<p>╛ε╢╗░╘ ╡┐└█╟╧┤┬┴÷ └╠╟╪╟╧┴÷╛╩░φ ┤▄┴÷ <cite>╡┐└█╟╧░╘╕╕</cite>
╟╧░φ ╜═┤┘╕Θ, <a href="examples.html">┐╣┴ª╡Θ</a>└╗ ┬ⁿ░φ╟╧╢≤.</p>
</div>
<div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#configparsing">╝│┴ñ╞─└╧ └╨▒Γ</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#hostmatching">░í╗≤╚ú╜║╞« ├ú▒Γ</a></li>
<li><img alt="" src="../images/down.gif" /> <a href="#tips">╞┴</a></li>
</ul></div>
<div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="configparsing" id="configparsing">╝│┴ñ╞─└╧ └╨▒Γ</a></h2>
<p><code><VirtualHost></code> ╝│┴ñ└╗ ┴ª┐▄╟╤ ╝│┴ñ└╠
<em>┴╓╝¡╣÷</em>╕ª ╕╕╡τ┤┘. <code class="directive"><a href="../mod/core.html#virtualhost"><VirtualHost></a></code> ╝╜╝╟└╕╖╬ ┴ñ└╟╟╤
║╬║╨└╗ ░í╗≤╚ú╜║╞«╢≤░φ ║╬╕Ñ┤┘.</p>
<p><code class="directive"><a href="../mod/mpm_common.html#listen">Listen</a></code>,
<code class="directive"><a href="../mod/core.html#servername">ServerName</a></code>,
<code class="directive"><a href="../mod/core.html#serverpath">ServerPath</a></code>,
<code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code> ┴÷╜├╛ε┤┬
╝¡╣÷ ┴ñ└╟ ╛ε┤└░≈┐í╝¡╡╡ ╗τ┐δ╟╥ ╝÷ └╓┤┘. ▒╫╖»│¬ ░░└║ ┴÷╜├╛ε░í
┐⌐╖»╣° │¬┐└╕Θ (▒╫ ╝¡╣÷┐í╝¡) ╕╢┴÷╕╖ ┴÷╜├╛ε╕╕└╠ └»╚┐╟╧┤┘.</p>
<p>┴╓╝¡╣÷ <code>Listen</code>└╟ ▒Γ║╗░¬└║ 80└╠┤┘. ┴╓╝¡╣÷└╟
<code>ServerPath</code>│¬ <code>ServerAlias</code>┐í┤┬
▒Γ║╗░¬└║ ╛°┤┘. <code>ServerName</code>└╟ ▒Γ║╗░¬└║ ╝¡╣÷└╟
IP ┴╓╝╥└╠┤┘.</p>
<p>┴╓╝¡╣÷└╟ Listen ┴÷╜├╛ε┤┬ ╡╬░í┴÷ ▒Γ┤╔└╗ ╟╤┤┘. ├╣┬░┤┬
╛╞╞──í░í ┐¼░ß╟╥ ▒Γ║╗ │╫╞«┐≈ ╞≈╞«╕ª ┴÷┴ñ╟╧┤┬ └╧└╠┤┘. ╡╤┬░┤┬
╕«┤┘└╠╖║╝╟╟╥ └²┤δ URI┐í ╗τ┐δ╟╥ ╞≈╞« ╣°╚ú╕ª ┴÷┴ñ╟╧┤┬ └╧└╠┤┘.</p>
<p>┴╓╝¡╣÷┐═ ┤▐╕« ░í╗≤╚ú╜║╞«└╟ ╞≈╞«┤┬ ╛╞╞──í░í ┐¼░ß└╗ ▒Γ┤┘╕«┤┬
╞≈╞«┐í ┐╡╟Γ└╗ ┴╓┴÷ <em>╛╩┤┬┤┘</em>.</p>
<p><code>VirtualHost</code> ┴÷╜├╛ε┐í ╞≈╞«╕ª ┴÷┴ñ╟╥ ╝÷ └╓┤┘.
╞≈╞«╕ª ┴÷┴ñ╟╧┴÷╛╩└╕╕Θ ┴╓╝¡╣÷└╟ ░í└σ ├╓▒┘ <code>Listen</code>
░¬└╗ ╗τ┐δ╟╤┤┘. ╞»║░╟╤ ╞≈╞« <code>*</code>┤┬ ╛ε╢▓ ╞≈╞«╢≤╡╡
┴÷─¬╟╧┤┬ ┐═└╧╡σ─½╡σ└╠┤┘. (DNS ░╦╗÷ ░ß░·└╟ ┐⌐╖» <code>A</code>
╖╣─┌╡σ╕ª ╞≈╟╘╟╧┐⌐) ░í╗≤╚ú╜║╞«└╟ ┴╓╝╥╕ª ╕≡╡╬ ├╤─¬╟╧┐⌐ ░í╗≤╚ú╜║╞«└╟
<em>┴╓╝╥┴²╟╒(address set)</em>└╠╢≤░φ ║╬╕Ñ┤┘.</p>
<p>╞»┴ñ IP ┴╓╝╥┐í ┤δ╟╤ <code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code> ┴÷╜├╛ε░í ╛°┤┘╕Θ
▒╫ ┴╓╝╥╕ª ╞≈╟╘╟╧┤┬ ├╣╣°┬░ ░í╗≤╚ú╜║╞«╕ª IP▒Γ╣▌ ░í╗≤╚ú╜║╞«╖╬ ├δ▒▐╟╤┤┘.
IP ┴╓╝╥┐í ┐═└╧╡σ─½╡σ <code>*</code>╕ª ╗τ┐δ╟╥ ╝÷╡╡ └╓┤┘.</p>
<p>└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«╕ª ╗τ┐δ╟╤┤┘╕Θ └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«┐í
╗τ┐δ╟╥ IP ┴╓╝╥╕ª <code>NameVirtualHost</code> ┴÷╜├╛ε┐í
╗τ┐δ╟╪╛▀ <em>╟╤┤┘</em>. ┴∩, ╝│┴ñ╞─└╧└╟ <code>NameVirtualHost</code>
┴÷╜├╛ε┐í └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«└╟ ╚ú╜║╞«║░╕φ(CNAME)┐í ╟╪┤τ╟╧┤┬
IP ┴╓╝╥╕ª ┴÷┴ñ╟╪╛▀ ╟╤┤┘.</p>
<p>╞»┴ñ IP:╞≈╞« ╜╓┐í ┤δ╟╪ ┐└┴≈ ╟╤ <code>NameVirtualHost</code>
┴÷╜├╛ε╕╕└╗ ╗τ┐δ╟╤┤┘╕Θ, ┐⌐╖» <code>NameVirtualHost</code> ┴÷╜├╛ε┐═
<code>VirtualHost</code> ┴÷╜├╛ε╕ª ╝»╛ε╝¡ ╗τ┐δ╟╥ ╝÷ └╓┤┘.</p>
<p><code>NameVirtualHost</code>┐═ <code>VirtualHost</code>
┴÷╜├╛ε└╟ ╝°╝¡┤┬ ┴▀┐Σ╟╧┴÷ ╛╩▒Γ╢º╣«┐í ┤┘└╜ ╡╬ ┐╣┤┬ ░░┤┘ (┐└┴≈
<em>╟╤</em> ┴╓╝╥┴²╟╒┐í ┤δ╟╤ <code>VirtualHost</code>└╟
╝°╝¡░í ┴▀┐Σ╟╧┤┘. ╛╞╖í ┬ⁿ░φ):</p>
<table><tr>
<td><div class="example"><p><code>
NameVirtualHost 111.22.33.44<br />
<VirtualHost 111.22.33.44><br />
# ╝¡╣÷ A<br />
...<br />
</VirtualHost><br />
<VirtualHost 111.22.33.44><br />
# ╝¡╣÷ B<br />
...<br />
</VirtualHost><br />
<br />
NameVirtualHost 111.22.33.55<br />
<VirtualHost 111.22.33.55><br />
# ╝¡╣÷ C<br />
...<br />
</VirtualHost><br />
<VirtualHost 111.22.33.55><br />
# ╝¡╣÷ D<br />
...<br />
</VirtualHost>
</code></p></div></td>
<td><div class="example"><p><code>
<VirtualHost 111.22.33.44><br />
# ╝¡╣÷ A<br />
</VirtualHost><br />
<VirtualHost 111.22.33.55><br />
# ╝¡╣÷ C<br />
...<br />
</VirtualHost><br />
<VirtualHost 111.22.33.44><br />
# ╝¡╣÷ B<br />
...<br />
</VirtualHost><br />
<VirtualHost 111.22.33.55><br />
# ╝¡╣÷ D<br />
...<br />
</VirtualHost><br />
<br />
NameVirtualHost 111.22.33.44<br />
NameVirtualHost 111.22.33.55<br />
<br />
</code></p></div></td>
</tr></table>
<p>(┐▐┬╩ ╝│┴ñ└╠ ┤⌡ └╨▒Γ ╞φ╟╧┤┘.)</p>
<p><code>VirtualHost</code> ┴÷╜├╛ε╕ª └╨└╗ ┤┘└╜, ░í╗≤╚ú╜║╞«
╝¡╣÷┤┬ <code>VirtualHost</code> ┴÷╜├╛ε┐í ┴÷┴ñ╟╤ ╞≈╞«╕ª ▒Γ║╗
<code>Listen</code>└╕╖╬ ╟╤┤┘.</p>
<p><code>VirtualHost</code> ┴÷╜├╛ε└╟ └╠╕º└╠ ╕≡╡╬ ░░└║
┴╓╝╥┴²╟╒┐í ╝╙╟╤┤┘╕Θ <code>ServerAlias</code>┐═ ░░└╠ ├δ▒▐╟╤┤┘
(▒╫╖»│¬ ┤┘╕Ñ <code>ServerAlias</code>└╟ ┐╡╟Γ└╗ ╣▐┴÷ ╛╩┤┬┤┘).
░í╗≤╚ú╜║╞«┐í ├▀░í╖╬ ╗τ┐δ╟╤ <code>Listen</code>└║ ┴╓╝╥┴²╟╒└╠
┴÷┴ñ╟╤ ╞≈╞«┐í ┐╡╟Γ└╗ ┴╓┴÷ ╛╩└╜└╗ ┴╓└╟╟╧╢≤.</p>
<p>╜├└█╟╥╢º IP ┴╓╝╥ ╕±╖╧└╗ ╕╕╡Θ╛ε ╟╪╜¼┼╫└╠║φ┐í ├▀░í╟╤┤┘.
<code>NameVirtualHost</code> ┴÷╜├╛ε┐í IP ┴╓╝╥╕ª ╗τ┐δ╟╧╕Θ
╕±╖╧└║ ▒╫ IP ┴╓╝╥┐í ┤δ╟╤ ╕≡╡τ └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«╕ª ╞≈╟╘╟╤┤┘.
▒╫ ┴╓╝╥┐í ┤δ╟╤ ░í╗≤╚ú╜║╞«░í ╛°┤┘╕Θ <code>NameVirtualHost</code>
┴÷╜├╛ε╕ª ╣½╜├╟╧░φ ╖╬▒╫┐í ┐└╖∙╕ª ▒Γ╖╧╟╤┤┘. IP▒Γ╣▌ ░í╗≤╚ú╜║╞«┤┬
╟╪╜¼┼╫└╠║φ┐í ╕±╖╧└╗ ├▀░í╟╧┴÷ ╛╩┤┬┤┘.</p>
<p>║ⁿ╕Ñ ╟╪╜¼╟╘╝÷╕ª ╗τ┐δ╟╧▒Γ╢º╣«┐í ┐Σ├╗╜├ IP ┴╓╝╥╕ª ╟╪╜╠╟╧┤┬
║╬┤π└║ ░┼└╟ ╛°┤┘. ╢╟ ╟╪╜¼┼╫└╠║φ└║ IP ┴╓╝╥└╟ ╕╢┴÷╕╖ ║╬║╨└╟
┬≈└╠┐í ├╓└√╚¡╡╟└╓┤┘.</p>
<p>░í╗≤╚ú╜║╞«┐í ┐⌐╖» ▒Γ║╗░¬└╠ ╝│┴ñ╡╚┤┘. ╞»╚≈:</p>
<ol>
<li>░í╗≤╚ú╜║╞«┐í <code class="directive"><a href="../mod/core.html#serveradmin">ServerAdmin</a></code>,
<code class="directive"><a href="../mod/core.html#resourceconfig">ResourceConfig</a></code>,
<code class="directive"><a href="../mod/core.html#accessconfig">AccessConfig</a></code>,
<code class="directive"><a href="../mod/core.html#timeout">Timeout</a></code>,
<code class="directive"><a href="../mod/core.html#keepalivetimeout">KeepAliveTimeout</a></code>,
<code class="directive"><a href="../mod/core.html#keepalive">KeepAlive</a></code>,
<code class="directive"><a href="../mod/core.html#maxkeepaliverequests">MaxKeepAliveRequests</a></code>,
<code class="directive"><a href="../mod/core.html#sendbuffersize">SendBufferSize</a></code>
┴÷╜├╛ε░í ╛°┤┘╕Θ ┴╓╝¡╣÷┐í╝¡ ╟╪┤τ ░¬└╗ ░í┴«┐┬┤┘. (┴∩,
┴╓╝¡╣÷└╟ ╝│┴ñ░¬└╗ ╗τ┐δ╟╤┤┘.)</li>
<li>░í╗≤╚ú╜║╞«└╟ ╡≡╖║┼Σ╕« ▒Γ║╗▒╟╟╤└╗ ┴ñ└╟╟╧┤┬ "┬ⁿ┴╢
▒Γ║╗░¬(lookup defaults)"└║ ┴╓╝¡╣÷└╟ ╝│┴ñ░· ╟╒├─┴°┤┘.
╕≡╡Γ└╟ ╡≡╖║┼Σ╕«┤τ ╝│┴ñ(per-directory configuration)╡╡
┐⌐▒Γ┐í ╟╪┤τ╡╚┤┘.</li>
<li>░ó ╕≡╡Γ└╟ ╝¡╣÷┤τ ╝│┴ñ(per-server config)└║ ┴╓╝¡╣÷└╟
╝│┴ñ░· ░í╗≤╚ú╜║╞«└╟ ╝│┴ñ└╗ ╟╒─ú┤┘.</li>
</ol>
<p>▒Γ║╗└√└╕╖╬ ┴╓╝¡╣÷┤┬ ░í╗≤╚ú╜║╞«╕ª ╕╕╡σ┤┬ "▒Γ║╗" ╚ñ└║ "▒Γ╣▌"└╠
╡╚┤┘. ▒╫╖»│¬ ╝│┴ñ╞─└╧┐í╝¡ ┴╓╝¡╣÷╕ª ┴ñ└╟╟╧┤┬ └º─í┤┬ ░ⁿ░Φ╛°┤┘.
╕╢┴÷╕╖└╕╖╬ ╝│┴ñ└╗ ╟╒─í▒Γ └ⁿ┐í ┴╓╝¡╣÷└╟ ╕≡╡τ ╝│┴ñ└╗ └╨╛ε╡Θ└╬┤┘.
▒╫╖í╝¡ ┴╓╝¡╣÷ ┴ñ└╟░í ░í╗≤╚ú╜║╞« ┴ñ└╟ ╡┌┐í │¬┐═╡╡ ░í╗≤╚ú╜║╞«
┴ñ└╟┐í ┐╡╟Γ└╗ ┴╪┤┘.</p>
<p>┴╓╝¡╣÷┐í <code>ServerName</code>└╠ ╛°┤┘╕Θ └Ñ╝¡╣÷╕ª ╜╟╟α╟╧┤┬
──╟╗┼═└╟ ╚ú╜║╞«╕φ└╗ ┤δ╜┼ ╗τ┐δ╟╤┤┘. ┴╓╝¡╣÷└╟
<code>ServerName</code>└╗ DNS ░╠╗÷╟╧┐⌐ ╛≥└║ IP ┴╓╝╥╡Θ└╗
<em>┴╓╝¡╣÷ ┴╓╝╥┴²╟╒</em>└╠╢≤░φ ║╬╕Ñ┤┘.</p>
<p>└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«└╟ <code>ServerName</code>└╗ ┴ñ└╟╟╧┴÷
╛╩└╕╕Θ ░í╗≤╚ú╜║╞«╕ª ┴ñ└╟╟╧┤┬ <code>VirtualHost</code>┐í╝¡
├│└╜└╕╖╬ │¬┐┬ ┴╓╝╥╕ª ▒Γ║╗░¬└╕╖╬ ╗τ┐δ╟╤┤┘.</p>
<p>╞»║░╟╤ <code>_default_</code> ┐═└╧╞«─½╡σ╕ª ╞≈╟╘╟╧┤┬
░í╗≤╚ú╜║╞«┤┬ ┴╓╝¡╣÷┐═ ░░└║ <code>ServerName</code>└╗ ░í┴°┤┘.</p>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="hostmatching" id="hostmatching">░í╗≤╚ú╜║╞« ├ú▒Γ</a></h2>
<p>╝¡╣÷┤┬ ╛╞╖í┐═ ░░└║ ╣µ╣²└╕╖╬ ╛ε╢▓ ░í╗≤╚ú╜║╞«░í ┐Σ├╗└╗
├│╕«╟╥┴÷ ░ß┴ñ╟╤┤┘:</p>
<h3><a name="hashtable" id="hashtable">╟╪╜¼┼╫└╠║φ ├ú▒Γ</a></h3>
<p>┼¼╢≤└╠╛≡╞«░í ├│└╜ ┐¼░ß╟╧╕Θ ┐¼░ß╟╤ IP ┴╓╝╥╕ª │╗║╬ IP
╟╪╜¼┼╫└╠║φ┐í╝¡ ├ú┤┬┤┘.</p>
<p>IP ┴╓╝╥╕ª ├ú└╗ ╝÷ ╛°░φ ┼¼╢≤└╠╛≡╞«░í ┐Σ├╗└╗ ║╕│╜ ╞≈╞«┐í
╟╪┤τ╟╧┤┬ ░í╗≤╚ú╜║╞«░í └╓┤┘╕Θ, <code>_default_</code> ░í╗≤╚ú╜║╞«░í
┐Σ├╗└╗ ╝¡║±╜║╟╤┤┘. <code>_default_</code> ░í╗≤╚ú╜║╞«░í
╛°┤┘╕Θ ┴╓╝¡╣÷░í ┐Σ├╗└╗ ╝¡║±╜║╟╤┤┘.</p>
<p>╟╪╜¼┼╫└╠║φ┐í IP ┴╓╝╥░í ╛°┴÷╕╕ ╞≈╞« ╣°╚ú░í
<code>NameVirtualHost *</code>┐í ╟╪┤τ╟╥ ╝÷ └╓┤┘. └╠ ░µ┐∞
└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«├│╖│ ├│╕«╟╤┤┘.</p>
<p>├ú╛╥┤┘╕Θ (╕±╖╧┐í╝¡ IP ┴╓╝╥┐í ╟╪┤τ╟╧┤┬ ╟╫╕±└╗ ├ú└╕╕Θ),
IP▒Γ╣▌ ░í╗≤╚ú╜║╞«└╬┴÷ └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«└╬┴÷ ░ß┴ñ╟╤┤┘.</p>
<h3><a name="ipbased" id="ipbased">IP▒Γ╣▌ ░í╗≤╚ú╜║╞«</a></h3>
<p>├ú└║ ╟╫╕±┐í └╠╕º ╕±╖╧└╠ ╛°┤┘╕Θ IP▒Γ╣▌ ░í╗≤╚ú╜║╞«└╠┤┘.
┤⌡ └╠╗≤ └█╛≈└╠ ╟╩┐Σ╛°░φ, ▒╫ ░í╗≤╚ú╜║╞«░í ┐Σ├╗└╗ ├│╕«╟╤┤┘.</p>
<h3><a name="namebased" id="namebased">└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«</a></h3>
<p>└╠╕º ╕±╖╧┐í ╟╤░│ └╠╗≤└╟ ░í╗≤╚ú╜║╞« ▒╕┴╢░í ╞≈╟╘╡╟╕Θ
└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«└╠┤┘. └╠ ╕±╖╧┐í╝¡ ░í╗≤╚ú╜║╞«╡Θ└║ ╝│┴ñ╞─└╧└╟
<code>VirtualHost</code> ╝°╝¡┤δ╖╬ └º─í╟╤┤┘.</p>
<p>╕±╖╧┐í╝¡ ├╣╣°┬░ ░í╗≤╚ú╜║╞«(╝│┴ñ╞─└╧┐í╝¡ ╟╪┤τ IP ┴╓╝╥╕ª
╞≈╟╘╟╧┤┬ ├╣╣°┬░ ░í╗≤╚ú╜║╞«)┤┬ ░í└σ │⌠└║ ┐∞╝▒╝°└º╕ª ░í┴÷╕τ,
╝¡╣÷╕φ└╗ ╛╦ ╝÷ ╛°░┼│¬ <code>Host:</code> ╟∞┤⌡░í ╛°┤┬ ┐Σ├╗└╗
├│╕«╟╤┤┘.</p>
<p>┼¼╢≤└╠╛≡╞«░í <code>Host:</code> ╟∞┤⌡╕ª ┴╓╕Θ, ╕±╖╧┐í╝¡
├╣╣°┬░╖╬ <code>ServerName</code>└╠│¬
<code>ServerAlias</code>░í ┤δ└└╟╧┤┬ ░í╗≤╚ú╜║╞«░í ┐Σ├╗└╗
╝¡║±╜║╟╤┤┘. <code>Host:</code> ╟∞┤⌡┐í ╞≈╞« ╣°╚ú░í │¬┐├ ╝÷
└╓┴÷╕╕, ╛╞╞──í┤┬ ╟╫╗≤ ┼¼╢≤└╠╛≡╞«░í ┐Σ├╗└╗ ║╕│╜ ╜╟┴ª ╞≈╞«╕ª
├ú┤┬┤┘.</p>
<p>┼¼╢≤└╠╛≡╞«░í <code>Host:</code> ╟∞┤⌡╛°└╠ HTTP/1.0 ┐Σ├╗└╗
╟╧╕Θ ┼¼╢≤└╠╛≡╞«░í ╛ε╢▓ ╝¡╣÷┐í ┐¼░ß╟╧╖┴┤┬┴÷ ╛╦ ╝÷ ╛°▒Γ╢º╣«┐í
┐Σ├╗└╟ URI┐í ╟╪┤τ╟╧┤┬ <code>ServerPath</code>░í └╓┤┬┴÷ ├ú┤┬┤┘.
╕±╖╧┐í╝¡ ┴ª└╧ ╕╒└· ├ú└║ ░µ╖╬╕ª ╗τ┐δ╟╧░φ, ▒╫ ░í╗≤╚ú╜║╞«░í
┐Σ├╗└╗ ╝¡║±╜║╟╤┤┘.</p>
<p>┤δ└└╟╧┤┬ ░í╗≤╚ú╜║╞«╕ª ├ú└╗ ╝÷ ╛°┤┘╕Θ, (└╠╣╠ ╛╒┐í ╕╗╟▀╡φ└╠)
┼¼╢≤└╠╛≡╞«░í ┐¼░ß╟╤ IP┐í ┤δ╟╤ ╕±╖╧┐í╝¡ └╧─í╟╧┤┬ ╞≈╞« ╣°╚ú╕ª
╞≈╟╘╟╧┤┬ ├╣╣°┬░ ░í╗≤╚ú╜║╞«░í ┐Σ├╗└╗ ╝¡║±╜║╟╤┤┘.</p>
<h3><a name="persistent" id="persistent">┴÷╝╙ ┐¼░ß</a></h3>
<p>IP┤┬ └º┐í╝¡ ╝│╕φ╟╤╡Ñ╖╬ ╞»┴ñ TCP/IP ╝╝╝╟┤τ <em>╟╤╣°╕╕</em>
├ú┴÷╕╕, └╠╕º└║ KeepAlive/┴÷╝╙ ┐¼░ß╡┐╛╚ <em>╕┼</em> ┐Σ├╗╢º╕╢┤┘
├ú┤┬┤┘. ┴∩, ┼¼╢≤└╠╛≡╞«┤┬ ┴÷╝╙ ┐¼░ß╡┐╛╚ ┐⌐╖» └╠╕º▒Γ╣▌
░í╗≤╚ú╜║╞«└╟ ╞Σ└╠┴÷╕ª ┐Σ├╗╟╥ ╝÷ └╓┤┘.</p>
<h3><a name="absoluteURI" id="absoluteURI">└²┤δ URI</a></h3>
<p>┐Σ├╗└╟ URI░í └²┤δ URI└╠░φ ┼¼╢≤└╠╛≡╞«░í ║╕│╜ ┐Σ├╗└╟
╚ú╜║╞«╕φ░· ╞≈╞«░í ┴╓╝¡╣÷│¬ ╞»┴ñ ░í╗≤╚ú╜║╞«┐í ╟╪┤τ╟╧╕Θ,
▒╫ ┴╓╝¡╣÷ ╚ñ└║ ░í╗≤╚ú╜║╞«┤┬ URI ╛╒└╟ ╜║┼┤/╚ú╜║╞«╕φ/╞≈╞«
║╬║╨└╗ ┴ª┐▄╟╤ │¬╕╙┴÷ ╗≤┤δ URI╕ª ╝¡║±╜║╟╤┤┘. ╟╪┤τ╟╧┤┬
┴╓╝¡╣÷│¬ ░í╗≤╚ú╜║╞«░í ╛°┤┘╕Θ URI╕ª ▒╫┤δ╖╬ ╡╬░φ ┐Σ├╗└╗
╟┴╖╧╜├ ┐Σ├╗└╕╖╬ ├│╕«╟╤┤┘.</p>
<h3><a name="observations" id="observations">┴╓└╟</a></h3>
<ul>
<li>└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«┐═ IP▒Γ╣▌ ░í╗≤╚ú╜║╞«┤┬ ╝¡╖╬┐í░╘
┐╡╟Γ└╗ ┴╓┴÷ ╛╩┤┬┤┘. IP▒Γ╣▌ ░í╗≤╚ú╜║╞«╕ª └┌╜┼└╟ └╠╕º┴²╟╒
IP ┴╓╝╥┐▄┐í ╛ε╢▓ ┴╓╝╥╖╬╡╡ ┴ó▒┘╟╥ ╝÷ ╛°┤┘. └╠╕º▒Γ╣▌
░í╗≤╚ú╜║╞«╡╡ ╕╢┬∙░í┴÷┤┘. └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«┤┬
<code>NameVirtualHost</code> ┴÷╜├╛ε╖╬ ┴ñ└╟╟╤ ┴╓╝╥┴²╟╒└╟
IP ┴╓╝╥╕ª ┼δ╟╪╝¡╕╕ ┴ó▒┘╟╥ ╝÷ └╓┤┘.</li>
<li>IP▒Γ╣▌ ░í╗≤╚ú╜║╞«┤┬ <code>ServerAlias</code>┐═
<code>ServerPath</code>╕ª └²┤δ╖╬ ░╦╗τ╟╧┴÷ ╛╩┤┬┤┘.</li>
<li>╝│┴ñ╞─└╧┐í╝¡ └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«, IP▒Γ╣▌ ░í╗≤╚ú╜║╞«,
<code>_default_</code> ░í╗≤╚ú╜║╞«, <code>NameVirtualHost</code>
┴÷╜├╛ε└╟ ╝°╝¡┤┬ ┴▀┐Σ╟╧┴÷ ╛╩┤┘. ╞»┴ñ ┴╓╝╥┴²╟╒┐í ┤δ╟╤
└╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«╡Θ└╟ ╝°╝¡╕╕└╠ ┴▀┐Σ╟╧┤┘. ╝│┴ñ╞─└╧┐í╝¡
╛╒┐í │¬┐└┤┬ └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞«┤┬ └┌╜┼└╠ ╝╙╟╤ ┴╓╝╥┴²╟╒┐í╝¡
░í└σ │⌠└║ ┐∞╝▒╝°└º╕ª ░í┴°┤┘.</li>
<li>║╕╛╚└╗ └º╟╪ <code>Host:</code> ╟∞┤⌡┐í ╞≈╟╘╡╚ ╞≈╞«
╣°╚ú┤┬ └²┤δ╖╬ ╗τ┐δ╟╧┴÷ ╛╩┤┬┤┘. ╛╞╞──í┤┬ ╟╫╗≤ ┼¼╢≤└╠╛≡╞«░í
┐Σ├╗└╗ ║╕│╜ ╜╟┴ª ╞≈╞«╕ª ╗τ┐δ╟╤┤┘.</li>
<li>(╡╤ ╗τ└╠╕ª ▒╕║░╟╥ <code>Host:</code> ╟∞┤⌡░í ╛°┤┘░φ
░í┴ñ╟╧╕Θ,) <code>ServerPath</code> ┴÷╜├╛ε░í ╝│┴ñ╞─└╧┐í╝¡
╡┌┐í │¬┐└┤┬ ┤┘╕Ñ <code>ServerPath</code> ┴÷╜├╛ε└╟ ╛╒║╬║╨└╗
┴÷─¬╟╧┤┬ ░µ┐∞ ╟╫╗≤ ╛╒┐í │¬┐┬ ┴÷╜├╛ε╕ª ╗τ┐δ╟╤┤┘.</li>
<li>╡╬ IP▒Γ╣▌ ░í╗≤╚ú╜║╞«░í ░░└║ ┴╓╝╥╕ª ░í┴÷╕Θ, ╟╫╗≤
╝│┴ñ╞─└╧┐í╝¡ ╛╒┐í │¬┐└┤┬ ░í╗≤╚ú╜║╞«╕ª ╗τ┐δ╟╤┤┘. └╠╖▒ └╧└║
╛╞╣½╡╡ ╕≡╕ú░╘ └╧╛ε│» ╝÷ └╓┤┘. ╝¡╣÷░í └╠╖▒ ╗≤╚▓└╗ ╣▀░▀╟╧╕Θ
┐└╖∙ ╖╬▒╫╞─└╧┐í ░µ░φ╕ª ▒Γ╖╧╟╤┤┘.</li>
<li><code>_default_</code> ░í╗≤╚ú╜║╞«┤┬ ┐Σ├╗└╟ IP ┴╓╝╥<em>┐═</em>
╞≈╞« ╣°╚ú┐í ╟╪┤τ╟╧┤┬ ░í╗≤╚ú╜║╞«░í ╛°└╗╢º╕╕ ┐Σ├╗└╗ ├│╕«╟╤┤┘.
┼¼╢≤└╠╛≡╞«░í ┐Σ├╗└╗ ║╕│╜ ╞≈╞« ╣°╚ú░í <code>_default_</code>
░í╗≤╚ú╜║╞«└╟ ╞≈╞« ╣°╚ú(▒Γ║╗░¬└║ <code>Listen</code>)┐═
░░└╗╢º╕╕ ┐Σ├╗└╗ ├│╕«╟╤┤┘. ╛ε╢▓ ╞≈╞«└╟ ┐Σ├╗└╠╢≤╡╡ └Γ▒Γ└º╟╪
(<em>┐╣╕ª ╡Θ╛ε</em>, <code>_default_:*</code>) ┐═└╧╡σ─½╡σ
╞≈╞«╕ª ╗τ┐δ╟╥ ╝÷ └╓┤┘. <code>NameVirtualHost *</code>
░í╗≤╚ú╜║╞«╡╡ ╕╢┬∙░í┴÷┤┘.</li>
<li>┴╓╝¡╣÷┤┬ ┼¼╢≤└╠╛≡╞«░í ┐¼░ß╟╤ IP ┴╓╝╥┐═ ╞≈╞« ╣°╚ú┐í
╟╪┤τ╟╧┤┬ (<code>_default_</code> ░í╗≤╚ú╜║╞«╕ª ╞≈╟╘╟╧┐⌐)
░í╗≤╚ú╜║╞«░í ╛°└╗╢º╕╕ ┐Σ├╗└╗ ╝¡║±╜║╟╤┤┘. ┴∩, ┴╓╝¡╣÷┤┬
(▒╫ ╞≈╞«┐í ╟╪┤τ╟╧┤┬ <code>_default_</code> ░í╗≤╚ú╜║╞«░í
╛°┤┘╕Θ) ┴÷┴ñ╟╧┴÷╛╩└║ ┴╓╝╥/╞≈╞« ╜╓┐í ┤δ╟╤ ┐Σ├╗╕╕└╗ ├│╕«╟╤┤┘.</li>
<li>┼¼╢≤└╠╛≡╞«░í (<em>┐╣╕ª ╡Θ╛ε</em>, <code>NameVirtualHost</code>
┴÷╜├╛ε┐í╝¡) └╠╕º▒Γ╣▌ ░í╗≤╚ú╜║╞« ┴╓╝╥(┐═ ╞≈╞«)┐í ┐¼░ß╟╤
░µ┐∞ <code>Host:</code> ╟∞┤⌡╕ª ╛╦ ╝÷ ╛°░┼│¬ ╟∞┤⌡░í ╛°┤┬
┐Σ├╗└╗ ║╕│╗╕Θ ┐Σ├╗└║ <em>└²┤δ╖╬</em> <code>_default_</code>
░í╗≤╚ú╜║╞«│¬ ┴╓╝¡╣÷┐í╝¡ ├│╕«╟╧┴÷ ╛╩┤┬┤┘.</li>
<li>╜├└█╟╥╢º ╝¡╣÷░í DNS╕ª └╟┴╕╟╧┴÷ ╛╩└╕╖┴╕Θ └²┤δ╖╬
<code>VirtualHost</code> ┴÷╜├╛ε┐í DNS └╠╕º└╗ ╗τ┐δ╟╧┴÷╕╢╢≤.
░╘┤┘░í ┐¡░┼╟╤ ╕≡╡τ ╡╡╕▐└╬└╟ DNS╕ª ┼δ┴ª╟╧┴÷ ╛╩┤┬┤┘╕Θ
║╕╛╚╗≤ └º╟Φ╡╡ └╓┤┘. └╠┐í ┤δ╟╤ <a href="../dns-caveats.html">┴ñ║╕</a>░í └╓┤┘.</li>
<li>░ó ░í╗≤╚ú╜║╞«╕╢┤┘ <code>ServerName</code>╕ª ╟╫╗≤
┴ñ└╟╟╪╛▀ ╟╤┤┘. ╛╚▒╫╖»╕Θ ░í╗≤╚ú╜║╞«╕╢┤┘ DNS╕ª ├ú░╘ ╡╚┤┘.</li>
</ul>
</div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
<div class="section">
<h2><a name="tips" id="tips">╞┴</a></h2>
<p><a href="../dns-caveats.html#tips">DNS ╣«┴ª</a> ╞Σ└╠┴÷└╟
╞┴┐í ├▀░í╖╬ ╛╞╖í┐í ╞┴└╠ └╓┤┘:</p>
<ul>
<li>╕≡╡τ ┴╓╝¡╣÷ ┴ñ└╟╕ª <code>VirtualHost</code> ┴ñ└╟ ╛╒┐í
╡╬╛ε╢≤. (▒╫╖»╕Θ ╝│┴ñ└╗ └╨▒Γ ╞φ╟╧┤┘. ╛╚▒╫╖»╕Θ │¬┴▀┐í ╝│┴ñ└╠
╟╒├─┴·╢º ░í╗≤╚ú╜║╞«╡Θ ╗τ└╠┐í ╝»└╬ ┴ñ└╟░í ╕≡╡τ ░í╗≤╚ú╜║╞«┐í
┐╡╟Γ└╗ ┴┘ ╝÷ └╓▒Γ╢º╣«┐í ╚Ñ╢⌡╜║╖┤┤┘.)</li>
<li>└╨▒Γ ╞φ╟╧╡╡╖╧ ╝│┴ñ┐í╝¡ ╟╪┤τ╟╧┤┬ <code>NameVirtualHost</code>░·
<code>VirtualHost</code> ┴ñ└╟╡Θ└╗ ╣¡╛ε╢≤.</li>
<li><code>ServerPath</code>░í ┤┘╕Ñ <code>ServerPath</code>└╟
╛╒║╬║╨└╗ ┴÷─¬╟╧┤┬ ░µ┐∞╕ª ╟╟╟╧╢≤. ╟╟╟╥ ╝÷ ╛°┤┘╕Θ ╝│┴ñ╞─└╧┐í╝¡
╛╒║╬║╨└╠ ┤⌡ ▒Σ (┤⌡ └┌╝╝╟╤) ░í╗≤╚ú╜║╞«╕ª ┬¬└║ (┤· └┌╝╝╟╤)
░í╗≤╚ú╜║╞«║╕┤┘ ╛╒┐í ╡╬╛ε╢≤. (<em>┐╣╕ª ╡Θ╛ε</em>,
"ServerPath /abc"┤┬ "ServerPath /abc/def" ┤┘└╜┐í ╡╬╛ε╛▀
╟╤┤┘.</li>
</ul>
</div></div>
<div class="bottomlang">
<p><span>░í┤╔╟╤ ╛≡╛ε: </span><a href="../en/vhosts/details.html" hreflang="en" rel="alternate" title="English"> en </a> |
<a href="../ko/vhosts/details.html" title="Korean"> ko </a></p>
</div><div id="footer">
<p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p>
<p class="menu"><a href="../mod/">╕≡╡Γ</a> | <a href="../mod/directives.html">┴÷╜├╛ε╡Θ</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">┐δ╛ε</a> | <a href="../sitemap.html">╗τ└╠╞«╕╩</a></p></div>
</body></html>