home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2004 May
/
PCWorld_2004-05_cd.bin
/
komunikace
/
apache
/
apache_2.0.48-win32-x86-no_ssl.msi
/
Data.Cab
/
F253038_ipbased.xml.ko
< prev
next >
Wrap
Extensible Markup Language
|
2003-05-11
|
5KB
|
133 lines
<?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: 1.3.2.2 -->
<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╕ª ▒Γ┤┘╕«▒Γ└º╟╤
<a href="../misc/descriptors.html">╞─└╧▒Γ╝·└┌(file descriptor)
┐Σ▒╕╗τ╟╫</a>╡╡ ╕╕┴╖╟╤┤┘. "┐═└╧╡σ─½╡σ"│¬ ╞»┴ñ ┴╓╝╥╕ª <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>