You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2003/05/10 17:05:37 UTC
cvs commit: httpd-2.0/docs/manual/vhosts details.xml.ko examples.xml.ko fd-limits.xml.ko index.xml.ko ip-based.xml.ko mass.xml.ko name-based.xml.ko
nd 2003/05/10 08:05:36
Added: docs/manual bind.xml.ko cgi_path.xml.ko configuring.xml.ko
content-negotiation.xml.ko custom-error.xml.ko
dns-caveats.xml.ko dso.xml.ko env.xml.ko
filter.xml.ko glossary.xml.ko handler.xml.ko
index.xml.ko install.xml.ko invoking.xml.ko
logs.xml.ko mpm.xml.ko new_features_2_0.xml.ko
sections.xml.ko server-wide.xml.ko sitemap.xml.ko
stopping.xml.ko suexec.xml.ko upgrading.xml.ko
urlmapping.xml.ko
docs/manual/style/lang ko.xml
docs/manual/vhosts details.xml.ko examples.xml.ko
fd-limits.xml.ko index.xml.ko ip-based.xml.ko
mass.xml.ko name-based.xml.ko
Log:
Incorporate new Korean translations
Translated by: Jeongho Jeon <ma...@operamail.com>
Reviewed by: Choi Kyusic <ky...@hotmail.com>
Revision Changes Path
1.1 httpd-2.0/docs/manual/bind.xml.ko
Index: bind.xml.ko
===================================================================
<?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.7 -->
<manualpage metafile="bind.xml.meta">
<title>�ּҿ� ��Ʈ ���� (Binding)</title>
<summary>
<p>����ġ�� Ư�� �ּҿ� ��Ʈ���� �����ϵ��� �����ϱ�.</p>
</summary>
<seealso><a href="vhosts/">����ȣ��Ʈ</a></seealso>
<seealso><a href="dns-caveats.html">DNS ����</a></seealso>
<section id="overview">
<title>����</title>
<related>
<modulelist>
<module>core</module>
<module>mpm_common</module>
</modulelist>
<directivelist>
<directive module="core" type="section">VirtualHost</directive>
<directive module="mpm_common">Listen</directive>
</directivelist>
</related>
<p>����ġ�� �����ϸ� ����ġ�� ��ǻ���� � ��Ʈ�� �ּҿ�
�����Ͽ�, ������ ��û�� ��ٸ���. �⺻������ ����ġ��
��ǻ���� ��� �ּҿ��� ��ٸ���. ���� ����ġ�� Ư�� ��Ʈ��
������ �ּҸ��� ��ٸ��� �ؾ��� ��찡 �ִ�. �� �� ������
����ġ�� ��� �ٸ� IP �ּ�, ȣ��Ʈ��, ��Ʈ�� ����������
�����ϴ� ����ȣ��Ʈ ��ɰ��� ���õ��ִ�.</p>
<p><directive module="mpm_common">Listen</directive> ���þ��
������ Ư�� ��Ʈ�� �ּҿ� ��Ʈ ���տ����� ��û�� �ް�
�Ѵ�. <directive module="mpm_common">Listen</directive>
���þ ��Ʈ ��ȣ�� �����ϸ�, ������ ��� �������̽�����
������ ��Ʈ�� ��ٸ���. ���� Listen ���þ�� ��ٸ� ����
�ּҿ� ��Ʈ�� ������ ���� �ִ�. ������ ������ �ּҿ� ��Ʈ��
��û�� ������ �����Ѵ�.</p>
<p>���� ���, ������ 80���� 8000�� ��Ʈ ��ο��� ������
���� �Ϸ���:</p>
<example>
Listen 80<br />
Listen 8000
</example>
<p>������ ������ �� �������̽��� ��Ʈ���� ������ ��ٸ�����
�Ϸ���,</p>
<example>
Listen 192.170.2.1:80<br />
Listen 192.170.2.5:8000
</example>
<p>IPv6 �ּҴ� ������ ���� ���ȣ�� ����� �Ѵ�:</p>
<example>
Listen [fe80::a00:20ff:fea7:ccea]:80
</example>
</section>
<section id="ipv6">
<title>IPv6���� Ư���� ������ ��</title>
<p>IPv6�� ������ �÷����� �ð� �ְ� APR�� �̵� �÷��� ��κп���
IPv6�� �����ϱ����, ����ġ�� IPv6 ������ �Ҵ��Ͽ� IPv6��
���� ��û�� ó���� �� �ִ�.</p>
<p>����ġ �����ڿ��� ������ �κ��� IPv6 ������ IPv4 �����
IPv6 ������ ��� ó���� �� �ִ��Ĵ� ���̴�. ��κ��� �÷���������
IPv4-����(mapped) IPv6 �ּҸ� ����Ͽ� IPv6 ���Ͽ��� IPv4
������ ������, FreeBSD�� NetBSD�� OpenBSD�� �ý�����ü ��å������
�⺻������ ������� �ʴ´�. ���� �⺻������ ��������ʴ�
�ý����̶� ����ġ�� ���� Ư���� ���� �Ķ���ͷ� ������
�� �ִ�.</p>
<p>����ġ�� �ּ����� ������ ����Ͽ� IPv4 ����� IPv6 ������
��� �����Ϸ��� IPv4-���� IPv6 �ּҸ� ����ؾ� �Ѵ�. �������ؼ�
�����϶� ���� �ɼ� <code>--enable-v4-mapped</code>�� ����ϰ�,
������ ���� �Ϲ����� Listen ���þ ����Ѵ�:</p>
<example>
Listen 80
</example>
<p><code>--enable-v4-mapped</code>�� ����Ҷ� ����ġ�� �����
�⺻ ���������� Listen ���þ�� ���� ����.
<code>--enable-v4-mapped</code>�� FreeBSD, NetBSD, OpenBSD��
������ ��� �÷������� �⺻���̰�, �Ƹ��� ����� ����ġ��
���������� ���̴�.</p>
<p>�÷����� APR�� �������ο� ������� ����ġ�� IPv4 ���Ḹ��
�����Ϸ���, ���� ������ ���� ��� Listen ���þ IPv4 �ּҸ�
����Ѵ�:</p>
<example>
Listen 0.0.0.0:80<br />
Listen 192.170.2.1:80
</example>
<p>IPv4 ����� IPv6 ������ ���� �ٸ� �������� ��������,
�����϶� ���� �ɼ� <code>--disable-v4-mapped</code>�� ����ϰ�
������ ���� Listen ���þ ���� ����Ѵ�:</p>
<example>
Listen [::]:80<br />
Listen 0.0.0.0:80
</example>
<p><code>--disable-v4-mapped</code>�� ����Ҷ� ����ġ�� �����
�⺻ ���������� Listen ���þ�� ���� ����.
<code>--disable-v4-mapped</code>�� FreeBSD, NetBSD, OpenBSD����
�⺻���̴�.</p>
</section>
<section id="virtualhost">
<title>����ȣ��Ʈ�� ��� �����dz�</title>
<p>Listen�� ����ȣ��Ʈ�� ������ �ʴ´�. �̴� ���� �ּ�����
� �ּҿ� ��Ʈ�� ��ٸ����� �˷��ش�. <directive
module="core" type="section">VirtualHost</directive> ���þ
������� ������, ������ ���� ��� ��û�� �Ȱ��� ó���Ѵ�.
���� <directive module="core"
type="section">VirtualHost</directive>�� ���� �ּҿ� ��Ʈ��
���� �ٸ� �ൿ�� ������ �� �ִ�. ����ȣ��Ʈ�� �������
���� �������� ����� �ּҿ� ��Ʈ�� �˷���� �Ѵ�. ����
Ư�� �ּҿ� ��Ʈ�� ���� ����ȣ��Ʈ�� �ൿ�� ������
<directive module="core" type="section">VirtualHost</directive>
������ �ʿ��ϴ�. �ּ����� ��ٸ����ʴ� �ּҿ� ��Ʈ�� ����ϴ�
<directive module="core" type="section">VirtualHost</directive>��
������ �� ������ �����϶�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/cgi_path.xml.ko
Index: cgi_path.xml.ko
===================================================================
<?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 -->
<manualpage metafile="cgi_path.xml.meta">
<title>CGI ȯ�濡�� PATH_INFO�� ��ȭ</title>
<summary>
<p>����ġ 1.1.1�� �� ���� ������ ��� CGI ȯ�濡��
PATH_INFO�� ����� ����� ���������� �ʰ� � ��� ������
���̱ �ߴ�. ����ġ 1.2 ���� �� ����� ���ߴ�. ������
� CGI ���α���� �ణ�� ȣȯ������ ������
����ġ 1.2�� �ൿ�� ������ CGI/1.1 �Ծ��� �����������,
���� CGI ��ũ��Ʈ�� ������ �� �ִ�. (<a href="#compat">�Ʒ�
����</a>)</p>
</summary>
<section id="prob"><title>������</title>
<p>����ġ 1.1.1�� �� ���� ������ URL ��� ���ϸ���
������ PATH_INFO�� SCRIPT_NAME ȯ�溯���� �����ߴ�. ����
��� �ùٸ� ����� ������, ���Ͻý��� ��ΰ� path
������ �����Ѵٸ� �߸��� ����� ���� �� �ִ�. ���� ���,
�������Ͽ� ������ ���� ������ �ִٸ�:</p>
<example>
Alias /cgi-ralph /usr/local/httpd/cgi-bin/user.cgi/ralph
</example>
<p>�� ��� <code>user.cgi</code>�� CGI ��ũ��Ʈ�̰�, "/ralph"��
CGI�� �Ѱ����� ������. �� ���
"<code>/cgi-ralph/script/</code>"�� ��û�� ������ PATH��
"<code>/ralph/script</code>"�� �ǰ�, SCRIPT_NAME��
"<code>/cgi-</code>"�� �ȴ�. ���ڴ� �и��� �߸��Ǿ���.
������ � ��� ������ �ױ �Ѵ�.</p>
</section>
<section id="solution"><title>�ذ�å</title>
<p>����ġ 1.2 ���Ŀ����� URL���� Ŭ���̾�Ʈ�� ����������
�κ��� �Ǵ��Ͽ� SCRIPT_NAME�� PATH_INFO�� �����Ѵ�. ����
������ PATH_INFO�� "<code>/script</code>"�� �ǰ�, SCRIPT_NAME��
"<code>/cgi-ralph</code>"�� �ȴ�. �̴� �ո����̸� ������
������ ����Ű�� �ʴ´�. ��, ���� ������ �� ��ũ��Ʈ����
"<code>http://$SERVER_NAME:$SERVER_PORT$SCRIPT_NAME$PATH_INFO</code>"��
���� ��ũ��Ʈ�� ����Ű�� URL���� ������ �� �ִ�.</p>
<p>���� �������� <code>Alias</code> ���þ���
"<code>/ralph</code>" ������ �������. ���� �츮��
���Ͻý����� ����Ͽ� �̷� ������ �Ѱ��ִ� ���� �ٶ�����
����� �ƴϸ�, �̸� ����ϴ� ��ũ��Ʈ�� �۵���"������"
�ʴٰ� �����Ѵ�. ���� ����ġ 1.2b3 ���Ŀ��� �̿� ����
<a href="#compat">�ذ�å</a>�� �ִ�.</p>
</section>
<section id="compat">
<title>���� ������ ȣȯ��</title>
<p>����ġ ���� �����̳� �ٸ� ���������� ����� ��ũ��Ʈ��
���� PATH_INFO ������ �����ߴ� ������ �ʿ��� �� �ִ�. ����
����ġ 1.2 (1.2b3 ����)�� FILEPATH_INFO��� ������ �� �����Ѵ�.
�� ȯ�溯���� ����ġ 1.1.1�� PATH_INFO ���� ������.</p>
<p>��ũ��Ʈ�� ����ġ 1.2�� ���� ���� ��ο��� �����ϰ��Ϸ���,
���� FILEPATH_INFO�� �ִ��� �˻��ϰ� �ִٸ� �װ���
����Ѵ�. ���ٸ� PATH_INFO�� ����Ѵ�. ���� ���,
Perl�δ� ������ ����:</p>
<example>
$path_info = $ENV{'FILEPATH_INFO'} || $ENV{'PATH_INFO'};
</example>
<p>�̷��� �ϸ� ��� ����ġ�� �����Ͽ� CGI/1.1 ������ ������
��� �������� ��ũ��Ʈ�� ������ �� �ִ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/configuring.xml.ko
Index: configuring.xml.ko
===================================================================
<?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.7 -->
<manualpage metafile="configuring.xml.meta">
<title>��������</title>
<summary>
<p>�� ������ ����ġ �������� �����ϴ� ���ϵ��� �����Ѵ�.</p>
</summary>
<section id="main">
<title>�ּ�������</title>
<related>
<modulelist>
<module>mod_mime</module>
</modulelist>
<directivelist>
<directive module="core" type="section">IfDefine</directive>
<directive module="core">Include</directive>
<directive module="mod_mime">TypesConfig</directive>
</directivelist>
</related>
<p>�Ϲ� ���� ������ �������Ͽ� <a
href="mod/directives.html">���þ�</a>�� ����Ͽ� ����ġ��
�����Ѵ�. �ּ��������� ���� <code>httpd.conf</code>���
�θ���. �� ������ ��ġ�� �����Ͻ� ��������, <code>-f</code>
������ �ɼ����� �������� �� �ִ�. �� �ٸ� ���������� <directive
module="core">Include</directive> ���þ ����Ͽ� ������
�� �ְ�, ���ϵ�ī�带 ����Ͽ� ���� ���������� ������ ����
�ִ�. �� ��� ���þ � �������Ͽ��� ����ص� �ȴ�.
�ּ��������� �����ϸ� ����ġ�� �����ϰų� ������� ���Ŀ�
�ݿ��ȴ�.</p>
<p>������ mime ����Ÿ���� ���� ���ϵ� �д´�. ���ϸ���
<directive module="mod_mime">TypesConfig</directive> ���þ��
�����ϰ�, �⺻���� <code>mime.types</code>�̴�.</p>
</section>
<section id="syntax">
<title>�������� ����</title>
<p>����ġ ���������� ���ٿ� �� ���þ ����Ѵ�. �� ������
���ڰ� �齽���� "\"�̸� ���þ ���� �ٿ��� ��ӵ��� ���Ѵ�.
�� ��� �齽���� �ڿ� � ���ڳ� ���鵵 ������ �ȵȴ�.</p>
<p>���������� ���þ�� ��ҹ��ڸ� �������� ������, ���þ���
�ƱԸ�Ʈ�� ��ҹ��ڸ� �����ϴ� ��찡 �ִ�. �ؽ����� "#"��
�����ϴ� ���� �ּ����� �����Ѵ�. �ּ��� ���� ���þ�� ����
�ٿ� ����� �� <strong>����</strong>. ���ٰ� ���þ� �տ� ������
������ �����ϹǷ�, �����ϰ� ���̵��� ���þ �ٵ�����(indent)
�� �ִ�.</p>
<p><code>apachectl configtest</code>�� <code>-t</code> ������
�ɼ��� ����Ͽ� ����ġ�� �������� �ʰ��� ���������� ����
������ �˻��� �� �ִ�.</p>
</section>
<section id="modules">
<title>���</title>
<related>
<modulelist>
<module>mod_so</module>
</modulelist>
<directivelist>
<directive module="core" type="section">IfModule</directive>
<directive module="mod_so">LoadModule</directive>
</directivelist>
</related>
<p>����ġ�� ���ȭ�� ������. �̴� �ſ� �⺻���� ��ɸ���
���� �ٽɿ� ���Ե������� ���Ѵ�. ����ġ�� <a
href="mod/">���</a>�� �о�鿩�� �����
Ȯ���Ѵ�. �⺻������ �������ϸ� ������ <a
href="mod/module-dict.html#Status">base</a> ������ ���Եȴ�.
������ <a href="dso.html">�������� �о���̴�</a> �����
����� �� �ְ� �������Ͽ��ٸ� ����� ���� �������Ͽ� �ƹ�����
<directive module="mod_so">LoadModule</directive> ���þ��
�߰��� �� �ִ�. ���� ������ ����� �߰��ϰų� ��������
����ġ�� �ٽ� �������ؾ� �Ѵ�. ���� ���þ <directive
module="core">IfModule</directive> �������� ���μ� Ư��
����� �ִ� ��쿡�� ���������� ó���� �� �ִ�.</p>
<p>���� ������ � ����� �����ϵ��ִ��� ������ <code>-l</code>
������ �ɼ��� ����Ѵ�.</p>
</section>
<section id="scope">
<title>���þ� �������</title>
<related>
<directivelist>
<directive module="core" type="section">Directory</directive>
<directive module="core" type="section">DirectoryMatch</directive>
<directive module="core" type="section">Files</directive>
<directive module="core" type="section">FilesMatch</directive>
<directive module="core" type="section">Location</directive>
<directive module="core" type="section">LocationMatch</directive>
<directive module="core" type="section">VirtualHost</directive>
</directivelist>
</related>
<p>�ּ������Ͽ� �ִ� ���þ�� ���� ��ü�� ����ȴ�. ���þ
������ �Ϻο��� ����ǰ� �Ϸ��� ���þ <directive module="core"
type="section">Directory</directive>, <directive module="core"
type="section">DirectoryMatch</directive>, <directive module="core"
type="section">Files</directive>, <directive module="core"
type="section">FilesMatch</directive>, <directive module="core"
type="section">Location</directive>, <directive module="core"
type="section">LocationMatch</directive> ���� �ȿ� �ξ���Ѵ�.
�� ���ǵ��� ���� ���δ� ���þ��� ��������� ���Ͻý����̳�
URL�� Ư�� ��ġ�� �����Ѵ�. ��, ���� ���ļ� ����� �� �ֱ����
�ſ� ������ ������ �����ϴ�.</p>
<p>����ġ�� ���� �ٸ� ������Ʈ�� ���ÿ� �����ϴ�
�ɷ��� �ִ�. �̸� <a href="vhosts/">����ȣ��Ʈ</a>��� �Ѵ�.
���þ
<directive module="core" type="section">VirtualHost</directive>
���� �ȿ� �ξ� Ư�� ������Ʈ���� ���þ ������ �� �ִ�.</p>
<p>���þ�� ��κ� � ���ǿ� ���͵� ������, � ���þ��
Ư�� ��ҿ��� �ǹ̰� ����. ���� ��� ���μ��� ������ �����ϴ�
���þ�� �ּ������� ��ҿ����� ����� �� �ִ�. ���þ
� ���ǿ� ��ġ�� �� �ִ��� �˷��� ���þ��� <a
href="mod/directive-dict.html#Context">������</a>�� Ȯ���϶�.
�� �ڼ��� ������ <a href="sections.html">��� Directory,
Location, Files ������ �����ϳ�</a>�� �����϶�.</p>
</section>
<section id="htaccess">
<title>.htaccess ����</title>
<related>
<directivelist>
<directive module="core">AccessFileName</directive>
<directive module="core">AllowOverride</directive>
</directivelist>
</related>
<p>����ġ�� Ư���� ������ ����Ͽ� ������
������(�б�������) ������ �� �ִ�. �� Ư���� ������ ����
<code>.htaccess</code>��� �θ�����, �̸��� <directive
module="core">AccessFileName</directive> ���þ��
������ �� �ִ�. <code>.htaccess</code> ���Ͽ� �ִ� ���þ��
������ �ִ� ���丮�� ��� �������丮�� ����ȴ�.
<code>.htaccess</code> ������ �ּ������ϰ� ���� ������
������. <code>.htaccess</code> ������ �� ��û������ �б����
������ �����ϸ� ��� ȿ���� �� �� �ִ�.</p>
<p>� ���þ <code>.htaccess</code> ���Ͽ� ����� ��
�ִ��� �˷��� ���þ��� <a
href="mod/directive-dict.html#Context">������</a>��
Ȯ���϶�. ���� �����ڴ� �ּ��������� <directive
module="core">AllowOverride</directive> ���þ��
<code>.htaccess</code> ���Ͽ� � ���þ ����� �� �ִ���
������ �� �ִ�.</p>
<p><code>.htaccess</code> ���Ͽ� ���� �� �ڼ��� ������
<a href="howto/htaccess.html">.htaccess ���丮��</a>��
�����϶�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/content-negotiation.xml.ko
Index: content-negotiation.xml.ko
===================================================================
<?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.7 -->
<manualpage metafile="content-negotiation.xml.meta">
<title>�������� (Content Negotiation)</title>
<summary>
<p>����ġ�� HTTP/1.1 �Ծ ����� ��������(content
negotiation)�� �����Ѵ�. ���������� media type, ���, ��������,
���ڵ� � ���� �������� ������ ��ȣ���� ���� �ڿ���
���� ������ ǥ���� �����Ѵ�. �� �ҿ����� ���� ������ ������
�������� ��û�� ���������� ó���ϴ� ��ɵ� �ִ�.</p>
<p>�⺻������ �����ϵǴ� <module>mod_negotiation</module>
����� �������� ����� �����Ѵ�.</p>
</summary>
<section id="about"><title>�������� ����</title>
<p>�ڿ��� ���� �ٸ� ǥ���� ���� �� �ִ�. ���� ���, �ٸ�
�� �ٸ� media type Ȥ�� �� ��ΰ� �ٸ� ǥ������ ����
�� �ִ�. ���� ������ ǥ���� �����ϴ� �Ѱ��� ����� ����ڿ���
��� �������� �����ְ� �����ϰ� �ϴ� ���̴�. ���� ������
�ڵ����� �����ϴ� �͵� �����ϴ�. �̴� �������� ��û��
�Ϻη� ���� ��ȣ�ϴ� ǥ���� ���� ������ ���������
�����ϴ�. ���� ���, �������� �������� �Ҿ��, ����
���ٸ� ����� ������ �����ʹٰ� �˷��� �� �ִ�. ��������
��û�� ����� ���� ��ȣ�� ��Ÿ����. ���� �Ҿ�ε� ǥ������
��û�Ѵٸ� �������� ������ ���� ������.</p>
<example>Accept-Language: fr</example>
<p>�̷� ��ȣ�� ǥ���� ���� �ٸ� ��쿡�� �����ȴ�.</p>
<p>������ �� ������ ��û�� ���� �������� �Ҿ�� ���
���� �� ������, �Ҿ �� ��ȣ�ϰ�, ���� media type�� ����
�� ������, �Ϲ� �ؽ�Ʈ ���ٴ� HTML, �ٸ� media type ���ٴ�
GIF�� JPEG�� ��ȣ�Ѵٰ� �˷��ش�.</p>
<example>
Accept-Language: fr; q=1.0, en; q=0.5<br />
Accept: text/html; q=1.0, text/*; q=0.8, image/gif; q=0.6, image/jpeg; q=0.6, image/*; q=0.5, */*; q=0.1
</example>
<p>����ġ�� HTTP/1.1 �Ծ ���ǵ� '���� �ֵ�(server driven)'
���������� �����Ѵ�. ����ġ�� Accept, Accept-Language,
Accept-Charset, Accept-Encoding ��û ����� ��� �����Ѵ�.
��, ����ġ�� RFC 2295�� RFC 2296�� ���ǵ� �������� ����������
'�ڿ�������(transparent)' ��û ����� �����Ѵ�.</p>
<p><strong>�ڿ�(resource)</strong>�� (RFC 2396) URI�� �����ϴ�
�������� �����. ����ġ�� ���� �������� �ڿ���
<strong>ǥ��(representations)</strong>�� �����Ѵ�. ǥ����
������ media type, ��������, ���ڵ� ���� ���� ����Ʈ���
���ִ�. �ڿ��� ���� ǥ���� (���δ� ���� ���� �ִ�) �����ȴ�.
�ڿ��� ���� ǥ���� �ִٸ� �ڿ���
<strong>�����ϴٰ�(negotiable)</strong> �θ���, �̶�
�� ǥ���� <strong>����(variant)</strong>�̶�� �Ѵ�.
������ �ڿ��� ���� ������ ������
<strong>����(dimension)</strong>��� �Ѵ�.</p>
</section>
<section id="negotiation"><title>����ġ�� ����</title>
<p>�ڿ��� �����ϱ����� ������ �� ������ ���� ������ �ʿ��ϴ�.
���� �ΰ��� ����� �ϳ��� ������ ��´�:</p>
<ul>
<li>������ ���� ���ϵ��� ���� ������ type map�� (<em>����
���</em>, <code>*.var</code> ����) ����ϰų�,</li>
<li>���� ���������ʾƵ� ������ ���ϸ����� ��Ģ�� ã�Ƽ�
����� �����ϴ� 'MultiViews'�� ����Ѵ�.</li>
</ul>
<section id="type-map"><title>type-map ���� ����ϱ�</title>
<p>type map�� <code>type-map</code>�̶� �ڵ鷯�� �����
(Ȥ�� ���� ����ġ ������ ȣȯ�� ���� mime type��
<code>application/x-type-map</code>��) ������. �� �����
����Ϸ��� �������� <code>type-map</code> �ڵ鷯�� ����
���� Ȯ���ڸ� �����ؾ� �Ѵ�. ���� �������Ͽ� ������ ����
�����ϴ� ���� ����.</p>
<example>AddHandler type-map .var</example>
<p>Type map ������ �ش��ϴ� �ڿ��� �̸��� ���ƾ� �ϰ�,
�� ������ ���� ���� �־�� �Ѵ�. ���� ���� HTTP����
��� �ٷ� �����ȴ�. ������ ���� ������ ����� ���ٷ�
�����Ѵ�. ��ȿ��� ������ ����� �� ����. (�̷��� ��
�ʿ䰡 ����, �־ ����������) ���� ���� �������� ������
�ִ� �������� map ������ �����ϴ� ���� �����̴�. ������
map ���� ����. �� ������ �̸��� <code>foo.var</code>��,
<code>foo</code>��� �ڿ��� �����Ѵ�.</p>
<example>
URI: foo<br />
<br />
URI: foo.en.html<br />
Content-type: text/html<br />
Content-language: en<br />
<br />
URI: foo.fr.de.html<br />
Content-type: text/html;charset=iso-8859-2<br />
Content-language: fr, de<br />
</example>
<p>typemap ������ ���ϸ� Ȯ���� ����, ������ Multiviews��
����Ͽ���, �켱���� ������ �����϶�. ������ ���� �ٸ� ǰ����
�����ٸ�, ������ ���� (jpeg, gif, ASCII-art�� �ش��ϴ�)
media type�� "qs" �Ķ���ͷ� ǰ��(source quality)�� ǥ����
�� �ִ�:</p>
<example>
URI: foo<br />
<br />
URI: foo.jpeg<br />
Content-type: image/jpeg; qs=0.8<br />
<br />
URI: foo.gif<br />
Content-type: image/gif; qs=0.5<br />
<br />
URI: foo.txt<br />
Content-type: text/plain; qs=0.01<br />
</example>
<p>qs ���� 0.000���� 1.000 ���̴�. qs ���� 0.000�� ������
���� ���õ��� ������ �����϶�. 'qs' ���� ���� ������ 1.0����
��ȴ�. qs ���� Ŭ���̾�Ʈ�� �ɷ°��� ������� �ٸ� �������
���Ͽ� �� ������ ������� 'ǰ��'�� ��Ÿ����. ���� ���,
������ ��Ÿ������ ��� jpeg ������ ascii ���Ϻ��ٴ� ��
���� ǰ���� ������. ���� �ڿ��� ���� ascii art���ٸ�
ascii ǥ���� jpeg ǥ������ �� ���� ǰ���� ���� �� �ִ�.
���Ƿ� � ������ qs ���� ǥ���Ϸ��� �ڿ��� ������
���� �ٸ���.</p>
<p>�����ϴ� ��� ��� ����� <a
href="mod/mod_negotiation.html#typemaps">mod_negotation
typemap</a> ������ �����϶�.</p>
</section>
<section id="multiviews"><title>Multiviews</title>
<p><code>MultiViews</code>�� ���丮�� �ɼ��̹Ƿ�,
<code>httpd.conf</code>��
<directive module="core" type="section">Directory</directive>,
<directive module="core" type="section">Location</directive>,
<directive module="core" type="section">Files</directive>
���� Ȥ�� (<directive module="core">AllowOverride</directive>��
������ �����Ǿ��ٸ�) <code>.htaccess</code> ������
<directive module="core">Options</directive> ���þ ������
�� �ִ�. <code>Options All</code>�� <code>MultiViews</code>��
�������������� �����϶�. ���� ���� ����� �Ѵ�.</p>
<p><code>MultiViews</code>�� ����ϸ� ������ ���� ���� �Ͼ��:
������ <code>/some/dir/foo</code>�� ���� ��û�� �ް�
<code>/some/dir/foo</code>�� <code>MultiViews</code>�� �����ϸ�
<code>/some/dir/foo</code>�� �������� <em>����</em> ���,
������ ���丮���� �̸��� foo.*�� ���ϵ��� ��� �����ϴ�
������ type map�� �����. Ŭ���̾�Ʈ�� ��û�� media type��
content-encoding�� ������ ���߿� ���� ������ ���� �����Ѵ�.</p>
<p><code>MultiViews</code>�� ������ ���丮�� �����Ҷ�
������ � <directive
module="mod_dir">DirectoryIndex</directive> ���þ��
����ȴ�. ���������� ������ ���ٸ�,</p>
<example>DirectoryIndex index</example>
<p><code>index.html</code>�� <code>index.html3</code>��
��� �ִٸ� ������ �̵� �߿� �ϳ��� �����Ѵ�. �� ��� ����
<code>index.cgi</code>�� �ִٸ�, ������ �װ��� �����Ѵ�.</p>
<p>���丮�� ������ ������ �ϳ��� Charset, Content-Type,
Language, Encoding�� �Ǵ��ϴ� <code>mod_mime</code>�� ��
Ȯ���ڸ� �����ٸ�, ����� <directive
module="mod_mime">MultiViewsMatch</directive> ���þ� ������
�Ǵ�. �� ���þ�� �ڵ鷯, ����, �ٸ� Ȯ�������� MultiViews
���� �������� ���θ� �����Ѵ�.</p>
</section>
</section>
<section id="methods"><title>������</title>
<p>����ġ�� type-map �����̳� ���丮�� �ִ� ���ϸ����
�־��� �ڿ��� ���� ���� ����� ��ԵǸ� '������' ������
�����ϱ����� �� ����� �ϳ��� ����Ѵ�. ����ġ ��������
����� ����ϱ����� ��Ȯ�� ������ ��� �Ͼ���� �ڼ���
�� �ʿ�� ����. ���� �ñ��� ����� ���� �� ����� �����Ѵ�.</p>
<p>�ΰ��� �������� �ִ�:</p>
<ol>
<li><strong>����ġ �˰������� ����Ͽ� ������ �ֵ��ϴ�
����</strong>�� �Ϲ����� ��쿡 ����Ѵ�. ����ġ �˰�������
�Ʒ��� �ڼ��� �����Ѵ�. �� �˰������� ����ϸ� ����ġ��
�� ���� ����� ������� ���� Ư�� ������
ǰ�����(quality factor)�� '�����Ѵ�'. ����ġ�� ǰ�������
�����ϴ� ����� �Ʒ��� �ڼ��� �����Ѵ�.</li>
<li><strong>�ڿ�������(Transparent) ��������</strong>��
�������� RFC 2295�� ���ǵ� ������� ��û�� ��쿡��
����Ѵ�. �� �������� '������' ������ ������ ������
���������� �ο��Ѵ�. ���� ����� �������� �˰�����
�ȴ�. �ڿ������� ��������߿� �������� ����ġ����
RFC 2296�� ���ǵ� '���� �������� �˰�����(remote variant
selection algorithm)'�� ��û�� �� �ִ�.</li>
</ol>
<section id="dimensions"><title>������ ����</title>
<table>
<tr valign="top">
<th>����</th>
<th>����</th>
</tr>
<tr valign="top">
<td>Media Type</td>
<td>�������� Accept ����� ��ȣ�� ��Ÿ����. �� ����
ǰ������� ���� �� �ִ�. ������ ������ ǰ������� ("qs"
�Ķ����) ���� �� �ִ�.</td>
</tr>
<tr valign="top">
<td>Language</td>
<td>�������� Accept-Language ����� ��ȣ�� ��Ÿ����.
�� ���� ǰ������� ���� �� �ִ�. ������ ���� ��
���� (Ȥ�� �ƹ� �� ����) �� �ִ�.</td>
</tr>
<tr valign="top">
<td>Encoding</td>
<td>�������� Accept-Encoding ����� ��ȣ�� ��Ÿ����.
�� ���� ǰ������� ���� �� �ִ�.</td>
</tr>
<tr valign="top">
<td>Charset</td>
<td>�������� Accept-Charset ����� ��ȣ�� ��Ÿ����.
�� ���� ǰ������� ���� �� �ִ�. ������ media type��
�Ķ���ͷ� ���������� ��Ÿ�� �� �ִ�.</td>
</tr>
</table>
</section>
<section id="algorithm"><title>����ġ ���� �˰�����</title>
<p>����ġ�� ���������� ���� '������' ������ (�ִٸ�)
�����ϱ����� �Ʒ� �˰������� ����Ѵ�. �� �˰������� ������
�� ����. ������ ���� �����Ѵ�:</p>
<ol>
<li>����, ������ �� ������ ���� �ش��ϴ� <em>Accept*</em>
����� �˻��ϰ�, �� ������ ǰ������ �ű��. � ������
<em>Accept*</em> ����� �Ƶ����� �ʴ� ������ �ĺ�����
�����Ѵ�. � ������ ���������� 4 �ܰ�� ����.</li>
<li>
�ĺ����� �ϳ��� �����Ͽ� '������' ������ ã�´�. ����
�� �˻�� ������� �Ͼ��. �� �˻翡�� ���õ�������
������ ���ܵȴ�. �� �˻��� �� ������ ������ �̸� ������
�������� �����ϰ� 3 �ܰ�� ����. ���� ������ ������
���� �˻縦 �����Ѵ�.
<ol>
<li>Accept ����� ǰ������� ������ media type�� ����
ǰ������ ���Ͽ� ���� ���� ���� ���� ������ �����Ѵ�.</li>
<li>���� ���� ���(language) ǰ������� ���� ������
�����Ѵ�.</li>
<li>Accept-Language ����� (�ִٸ�) ���� ����� ����
Ȥ�� <code>LanguagePriority</code> ���þ (�ִٸ�)
���� ����� ������ ������ ���� ������ �� ����
������ �����Ѵ�.</li>
<li>���� ���� (text/html media type�� ������ ��Ÿ����)
'level' media �Ķ���� ���� ������ �����Ѵ�.</li>
<li>Accept-Charset ����� ������ ���� ������ charset
media �Ķ���� ���� ������ ã�´�. ����� ���ٸ�
ISO-8859-1 ���������� ���� ��ȣ�Ѵ�. <code>text/*</code>
media type�� �������� ���������� Ư�� �������հ�
����������� ������ ISO-8859-1�� �����Ѵ�.</li>
<li>ISO-8859-1�� <em>�ƴ�</em> charset media �Ķ����
���� �������� �����Ѵ�. �� ������ ���ٸ�, ��� ���
������ �����Ѵ�.</li>
<li>���� ������ ���ڵ��� ���� ������ �����Ѵ�.
user-agent�� ������ ���ڵ��� ���� ������ �ִٸ� ��
�������� �����Ѵ�. �����ʰ� ���ڵ��� ������ ���ڵ��ȵ�
������ ���� �ִٸ� ���ڵ��ȵ� �������� �����Ѵ�. ������
��� ���ڵ��Ǿ��ų� ��� ���ڵ��ȵ� ��� ��� ������
�����Ѵ�.</li>
<li>content length�� ���� ���� ������ �����Ѵ�.</li>
<li>���� ���� ù���� ������ �����Ѵ�. �̴� type-map
������ �տ� ���ų�, ���丮���� ������ ���� ���
���ϸ��� ASCII �ڵ� ������ �Ͽ� �տ� ������ ���̴�.</li>
</ol>
</li>
<li>���� �˰������� '������' ������ �����ߴ�. �̰��� ��������
������. HTTP ���� ��� Vary�� ������ ������ ��Ÿ���� �ȴ�.
(�������� ij���� �ڿ��� ij���Ҷ� �� ������ ����� ��
�ִ�.) ��.</li>
<li>�� �ܰ迡 �����ߴٸ� (��� �������� �������ϱ� ������)
� ������ ������ �ȵ� ����. ("No acceptable
representation"�� ���ϴ�) ���� 406�� �������� ��밡����
������ ����� ���� HTML ������ ������ ������. ��, HTML
Vary ����� ������ ������ ��Ÿ����.</li>
</ol>
</section>
</section>
<section id="better"><title>ǰ����� �����ϱ�</title>
<p>����ġ�� ���� ���� ����ġ ���� �˰������� ������ ��Ű���ʰ�
ǰ������� �����Ѵ�. ������ �����ϰ� ��Ȯ�� ������ �������ʴ�
���������� (�˰�������) �� ���� ����� ������ ���ؼ���.
�θ� ���̴� �������� �Ϻδ� ���� �߸��� ������ �����ϵ���
Accept ����� ������. �������� �����ϰ� �ùٸ� ������
�����ٸ�, ������ �����ʴ´�.</p>
<section id="wildcards"><title>Media Type�� ���ϵ�ī��</title>
<p>Accept: ��û ����� media type�� ���� ��ȣ�� ��Ÿ����.
��, *�� � ���ڿ��̶� �����ϱ���� "image/*"�� "*/*"
���� '���ϵ�ī��' media type�� ����� ���� �ִ�. ����
������ ���� ��û��:</p>
<example>Accept: image/*, */*</example>
<p>"image/"�� �����ϴ� � type�� �ٸ� � type�� ��������
�ǹ��Ѵ�. � ��������
�ڽ��� ������ �ٷ� �� �ִ� type�� �߰��� ���ϵ�ī�带 ������.
���� ���:</p>
<example>
Accept: text/html, text/plain, image/gif, image/jpeg, */*
</example>
<p>������ ���� ������ type�� ��ȣ������ �ٸ� ǥ���� �ִٸ�
�װ͵� �������� ��Ÿ���� ���ؼ���. �������� ������ ����
���� ������ ���� ���������� ǰ������ ����� ���̴�.</p>
<example>
Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01
</example>
<p>���� ������ type�� ǰ������� ��� �⺻���� (���� ����)
1.0�� ������. ���ϵ�ī�� */*�� ���� ��ȣ�� 0.01�� �����Ƿ�
���� ������ type�� �´� ������ ���� ��쿡�� �ٸ� type����
���ȴ�.</p>
<p>Accept: ����� q ����� ���� <em>����</em> "*/*"�� �ִٸ�,
����ġ�� �ٶ����� �ൿ�� ���� q ������ 0.01�� �����Ѵ�.
��, "type/*" ������ ���ϵ�ī�忡�� ("*/*"���ٴ� �� ��ȣ�ϵ���)
0.02�� �����Ѵ�. Accept: ������� q ����� ������ media type��
�ִٸ� �̷� Ư���� ���� �߰����� <em>�ʴ´�</em>. ����
�������� ������ ������ �������� ��û�� ��û�ѵ��� ó���Ѵ�.</p>
</section>
<section id="exceptions"><title>���(language) ������ ����</title>
<p>����ġ 2.0�� ��� ������ ������ ��� �ε巴�� �����ϱ�����
���� �˰����� ���� ���ܸ� � �߰��ߴ�.</p>
<p>Ŭ���̾�Ʈ�� ������ �������� ��û������ ������ ��������
���� Accept-language�� �´� �������� �� �Ѱ��� ã���� ������
������, ���� ���� ��� ������ Ŭ���̾�Ʈ���� "No Acceptable
Variant"�� "Multiple Choices" ������ ������. �̷� ��������
���ϱ����� �� ��� Accept-language�� �����ϰ� Ŭ���̾�Ʈ��
��û�� ��Ȯ�� ������ ������ ������ �������� ����ġ�� ������
�� �ִ�. <directive
module="mod_negotiation">ForceLanguagePriority</directive>
���þ�� ������ �̷� �������� �ϳ� Ȥ�� �Ѵٸ� �����ϰ�
<directive module="mod_negotiation">LanguagePriority</directive>
���þ�� �Ǵ��ϵ��� �Ѵ�.</p>
<p>��, ������ �´� �� ��ã�� ��� �θ�� ã�� ����
�ִ�. ���� ��� Ŭ���̾�Ʈ�� ������� ���ϴ�
<code>en-GB</code> ���� ������ ��û�� ���, HTTP/1.1 ǥ�ؿ�
������ ������ <code>en</code>���θ� ǥ�õ� ������ �Ϲ�������
�������� ���Ѵ�. (���� ������� �����ϴ� ���ڰ� �Ϲ�����
��� ������ �� �����Ƿ� Accept-Language �����
<code>en-GB</code>�� �����ϰ� <code>en</code>�� ��������������
���� Ȯ���� �߸��� �������� �����϶�. �������� ���� ����
Ŭ���̾�Ʈ���� �̷� ������ �⺻�������ִ�.) �ٸ� ��
ã�� ���Ͽ� ������ "No Acceptable Variants" ������ �����ų�
<directive module="mod_negotiation">LanguagePriority</directive>��
���ư��� �Ѵٸ�, ������ ������� �Ծ��� �����ϰ�
<code>en-GB</code>�� <code>en</code> ������ �����Ѵ�.
�Ϲ������� ����ġ�� �θ�� �ſ� ���� ǰ��������
Ŭ���̾�Ʈ�� ����� ��Ͽ� �߰��Ѵ�. ���� Ŭ���̾�Ʈ��
"en-GB; qs=0.9, fr; qs=0.8"�� ��û�ϰ� ������ "en"�� "fr"
������ �ִٸ�, "fr" ������ ���õ��� �����϶�. �̴� HTTP/1.1
ǥ���� ��Ű��, �ùٷ� ������ Ŭ���̾�Ʈ�� ȿ��������
�����ϱ������̴�.</p>
<p>����ڰ� ��ȣ�ϴ� �� �˾Ƴ������� (��Ű�� Ư����
URL-��� ����) ���� ����� �����ϱ����� ����ġ 2.1����
<module>mod_negotiation</module>�� <code>prefer-language</code>���
<a href="env.html">ȯ�溯��</a>�� �ν��Ѵ�. �� ȯ�溯����
�����ϰ� ������ ����±� �����Ѵٸ�,
<module>mod_negotiation</module>�� �ش��ϴ� ������ �����Ϸ���
�õ��Ѵ�. �� ������ ���ٸ� �Ϲ����� ��������� �����Ѵ�.</p>
<example><title>����</title>
SetEnvIf Cookie "language=(.+)" prefer-language=$1
</example>
</section>
</section>
<section id="extensions"><title>�ڿ�������(transparent) ���������� Ȯ��</title>
<p>����ġ�� ������ ���� �ڿ������� ����Ȯ�� ���������� (RFC 2295)
Ȯ���Ѵ�. ���� ����� ���ο� <code>{encoding ..}</code>�� Ư��
content-encoding�� ���� �������� ��Ī�Ѵ�. RVSA/1.0 �˰�������
(RFC 2296) ��Ͽ��� ���ڵ��� ������ �ν��� �� �ְ�, ���ڵ���
Accept-Encoding ��û ����� �´� ��� ���ڵ��� �����鵵 �ĺ���
����ϵ��� Ȯ��Ǿ���. RVSA/1.0 ������ ������ ������ ã�� ����
���� ǰ������� �Ҽ��� 5�ڸ����� �ݿø����� �ʴ´�.</p>
</section>
<section id="naming"><title>�����۸�ũ�� �̸���Ģ�� ���Ͽ�</title>
<p>���(language) ������ ����Ѵٸ� ������ ���� Ȯ���ڸ�
������ Ȯ������ ������ ���� ��������Ƿ� ���ϸ��� ���� �ٸ�
�̸���Ģ�� ����� �� �ִ�. (�ڼ��� ������ <a
href="mod/mod_mime.html#multipleext">mod_mime</a> ������
�����϶�.)</p>
<p>�������� ������ MIME-type Ȯ���� (<em>���� ���</em>,
<code>html</code>), ��쿡 ���� encoding Ȯ���� (<em>����
���</em>, <code>gz</code>), ���Ͽ� ���� ��� ������ �ִ�
��� ���� ��� Ȯ���ڸ� (<em>���� ���</em>, <code>en</code>)
������.</p>
<p>����:</p>
<ul>
<li>foo.en.html</li>
<li>foo.html.en</li>
<li>foo.en.html.gz</li>
</ul>
<p>������ ��� ���ϸ��� �� ���Ͽ� ���� ��ȿ�ϰ� ��ȿ��������
�����۸�ũ�� ���δ�:</p>
<table border="1" cellpadding="8" cellspacing="0">
<tr>
<th>���ϸ�</th>
<th>��ȿ�� �����۸�ũ</th>
<th>��ȿ�������� �����۸�ũ</th>
</tr>
<tr>
<td><em>foo.html.en</em></td>
<td>foo<br />
foo.html</td>
<td>-</td>
</tr>
<tr>
<td><em>foo.en.html</em></td>
<td>foo</td>
<td>foo.html</td>
</tr>
<tr>
<td><em>foo.html.en.gz</em></td>
<td>foo<br />
foo.html</td>
<td>foo.gz<br />
foo.html.gz</td>
</tr>
<tr>
<td><em>foo.en.html.gz</em></td>
<td>foo</td>
<td>foo.html<br />
foo.html.gz<br />
foo.gz</td>
</tr>
<tr>
<td><em>foo.gz.html.en</em></td>
<td>foo<br />
foo.gz<br />
foo.gz.html</td>
<td>foo.html</td>
</tr>
<tr>
<td><em>foo.html.gz.en</em></td>
<td>foo<br />
foo.html<br />
foo.html.gz</td>
<td>foo.gz</td>
</tr>
</table>
<p>�� ǥ�� ���� �����۸�ũ�� � Ȯ���ڵ� ���� �̸���
(<em>���� ���</em>, <code>foo</code>) �� ����� �� ������
�� �� �ִ�. �� ��� ������ ������ ���� ������ ���� �� �־,
<em>���� ���</em> ���̷���ũ ������ �����Ͼʰ�
<code>html</code> ������ <code>shtml</code>�̳�
<code>cgi</code>�� ������ �� �ִٴ� ���̴�.</p>
<p>��� �����۸�ũ�� MIME-type�� (<em>���� ���</em>,
<code>foo.html</code>) ����ϰ� �ʹٸ� (encoding Ȯ���ڰ�
�ִٸ� �̰͵� �����Ͽ�) ��� Ȯ���ڸ� MIME-type Ȯ���ں���
�����ʿ� (<em>���� ���</em>, <code>foo.html.en</code>)
�ξ���Ѵ�.</p>
</section>
<section id="caching"><title>ij���� ���Ͽ�</title>
<p>ij���� ǥ���� �����ϸ� ǥ���� ��û URL�� ������Ų��.
������ �� URL�� ��û�ϸ� ij���� ����� ǥ���� ����Ѵ�.
���� ������ ������ ������ �ڿ��� ��� ù��° ��û�� ������
ij���Ǿ� ���� ��û�� ij���� �߸��� ������ ���� �� �ִ�.
�̸� �������� ����ġ�� ���� ���������� ��ȯ�Ǵ� ��� ��û��
HTTP/1.0 Ŭ���̾�Ʈ�� ij���� ���ϵ��� ǥ�ø� �Ѵ�. ��, ����ġ��
������ ������ ij���� ����ϴ� HTTP/1.1 ���������� �����
�����Ѵ�.</p>
<p><directive
module="mod_negotiation">CacheNegotiatedDocs</directive>
���þ�� HTTP/1.0 ȣȯ Ŭ���̾�Ʈ(������ Ȥ�� ij��)��
���� ��û�� ���� ������ ������ ij���� �� �ְ� �Ѵ�. �� ���þ��
������ ����ȣ��Ʈ ������ ����ϸ�, �ƱԸ�Ʈ�� �����ʴ´�.
�� ���þ�� HTTP/1.1 Ŭ���̾�Ʈ�� ��û���� ���谡 ����.</p>
</section>
<section id="more"><title>�ٸ� ����</title>
<p>�������� ���� �ٸ� ������ Alan J. Flavell�� �� <a
href="http://ppewww.ph.gla.ac.uk/~flavell/www/lang-neg.html">Language
Negotiation Notes</a>�� �����϶�. ���� �� ������ ����
����ġ 2.0�� ��ȭ�� �ݿ����� ���� �� �ִ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/custom-error.xml.ko
Index: custom-error.xml.ko
===================================================================
<?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.4 -->
<manualpage metafile="custom-error.xml.meta">
<title>��������� ���� ����</title>
<summary>
<p>�������ʹ� ������ ������ �������� ����ġ�� ������
������ �� �ִ�.</p>
<p>������ ������ ������ �߰������� ���� ��������� ������
������ �� �ִ�.</p>
<p>��ũ��Ʈ�� ���� ��� "500 Server Error" ���� ��� ����ڿ���
�� ģ���� ������ ����ϰų� �ٸ� (���� ����Ʈ�� �ܺ� ����Ʈ��)
URL�� �����̷����� �� �� �ִ�.</p>
</summary>
<section id="behavior">
<title>�ൿ</title>
<section>
<title>���� �ൿ</title>
<p>NCSA httpd 1.3�� ����ڿ��� ���ǹ��ϰ� ������ ��������
���´�. ������ ���� ������ �α� ���� ���� ������.</p>
</section>
<section>
<title>���ο� �ൿ</title>
<p>������ ������ ���� ���� �� �� �ִ�:</p>
<ol>
<li>NCSA�� ������ ���� ��� �ٸ� ������ �����ְų�</li>
<li>���� ����Ʈ�� URL�� �����̷����ϰų�</li>
<li>�ܺ� ����Ʈ�� URL�� �����̷����Ѵ�.</li>
</ol>
<p>�ٸ� ����Ʈ�� URL�� �����̷����ϴ� ���� ������ �� ������,
�� ��� ������ �����ϰų� �α��ϴµ� �ʿ��� ������ �Ϻθ�
���ȴ�.</p>
<p>������ ���� ������ �����ϱ����� ����ġ�� CGI���� ���ο�
ȯ�溯���� �����Ѵ�:</p>
<example>
REDIRECT_HTTP_ACCEPT=*/*, image/gif, image/x-xbitmap,
image/jpeg<br />
REDIRECT_HTTP_USER_AGENT=Mozilla/1.1b2 (X11; I; HP-UX A.09.05
9000/712)<br />
REDIRECT_PATH=.:/bin:/usr/local/bin:/etc<br />
REDIRECT_QUERY_STRING=<br />
REDIRECT_REMOTE_ADDR=121.345.78.123<br />
REDIRECT_REMOTE_HOST=ooh.ahhh.com<br />
REDIRECT_SERVER_NAME=crash.bang.edu<br />
REDIRECT_SERVER_PORT=80<br />
REDIRECT_SERVER_SOFTWARE=Apache/0.8.15<br />
REDIRECT_URL=/cgi-bin/buggy.pl
</example>
<p><code>REDIRECT_</code> ���λ翡 �ָ��϶�.</p>
<p>�ּ��� <code>REDIRECT_URL</code>��
<code>REDIRECT_QUERY_STRING</code>�� (cgi-script��
cgi-include��) �� URL�� �Ѱ�����. �ٸ� ������ ������
���ϱ� ������ <transnote>�̸����� <code>REDIRECT_</code>��
�� ȯ�溯����</transnote> ������ ��쿡�� �ִ�.
<directive module="core">ErrorDocument</directive>��
<em>�ܺη�</em> (���� ������ <code>http:</code>��
���� ��Ŵ(scheme)���� �����Ѵٸ�) �����̷����Ѵٸ�
���� � �͵� �������� <strong>�ʴ´�</strong>.</p>
</section>
</section>
<section id="configuration">
<title>����</title>
<p><directive module="core">AllowOverride</directive>��
������ �����Ǿ��ٸ� .htaccess ���Ͽ���
<directive module="core">ErrorDocument</directive>�� �����
�� �ִ�.</p>
<p>������ ���̴�...</p>
<example>
ErrorDocument 500 /cgi-bin/crash-recover <br />
ErrorDocument 500 "Sorry, our script crashed. Oh dear" <br />
ErrorDocument 500 http://xxx/ <br />
ErrorDocument 404 /Lame_excuses/not_found.html <br />
ErrorDocument 401 /Subscription/how_to_subscribe.html
</example>
<p>������,</p>
<example>
ErrorDocument <3-digit-code> <action>
</example>
<p>������ action��,</p>
<ol>
<li>����� ����. ����ǥ (")�� ���� �տ� ���δ�. �ڿ� ������
����ǥ�� ��µȴ�. <em>����: �տ� ���� ����ǥ (")�� ��µ���
�ʴ´�.</em></li>
<li>�����̷����� �ܺ� URL.</li>
<li>�����̷����� ���� URL.</li>
</ol>
</section>
<section id="custom">
<title>��������� ���� ����� �����̷���</title>
<p>URL�� �����̷����ϴ� ����ġ �ൿ��
��ũ��Ʈ/server-include�� ȯ�溯���� �� �Ѱ��ֵ��� ����Ǿ���.</p>
<section>
<title>���� �ൿ</title>
<p>�����̷��ǵǴ� ��ũ��Ʈ�� ǥ�� CGI �������� �Ѿ��.
��� �����̷����� �Ͼ���� �� �� ����.</p>
</section>
<section>
<title>���ο� �ൿ</title>
<p>�����̷��ǵ� ��ũ��Ʈ�� ���ο� ȯ�溯������ �����
�� �ִ�. ��� �տ� <code>REDIRECT_</code>�� �پ��ִ�.
<code>REDIRECT_</code> ȯ�溯���� ���� CGI ȯ�溯����
�տ� <code>REDIRECT_</code>�� �ٿ��� �����. <em>����
���</em>, <code>HTTP_USER_AGENT</code>��
<code>REDIRECT_HTTP_USER_AGENT</code>�� �Ǿ���. �̷� ������
�߰��� ��ũ��Ʈ�� ���� URL�� �˵��� ����ġ��
<code>REDIRECT_URL</code>�� <code>REDIRECT_STATUS</code>��
�����Ѵ�. ���� URL�� �����̷��ǵ� URL ��� ���� �α�
����� �� �ִ�.</p>
<p>ErrorDocument�� ���� ������ �ִ� CGI ��ũ��Ʈ��
�����̷����Ѵٸ�, ��ũ��Ʈ�� Ŭ���̾�Ʈ���� ���� ��Ȳ��
Ȯ���� �����ϱ����� ��¿� "<code>Status:</code>" ���
�ʵ带 �����ؾ� �Ѵ�. ���� ���, Perl�� �ۼ��� ErrorDocument
��ũ��Ʈ�� ������ ����:</p>
<example>
... <br />
print "Content-type: text/html\n"; <br />
printf "Status: %s Condition Intercepted\n", $ENV{"REDIRECT_STATUS"}; <br />
...
</example>
<p><code>404 Not Found</code>�� ���� Ư�� ����
��Ȳ�� ���� ��ũ��Ʈ���, ��� <transnote>������</transnote>
Ư�� �����ڵ�� �������� ����� �� �ִ�.</p>
<p>(Ŭ���̾�Ʈ���� �����̷����� ��û�ϱ�����) ���信
<code>Location:</code> ����� �����Ѵٸ�, ��ũ��Ʈ��
<em>�ݵ��</em> (<code>302 Found</code> ����) ������
<code>Status:</code> ����� ����ؾ� ���� �����϶�. ����������
<code>Location:</code> ����� �ƹ� �ҿ���� �� �� �ִ�.</p>
</section>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/dns-caveats.xml.ko
<<Binary file>>
1.1 httpd-2.0/docs/manual/dso.xml.ko
Index: dso.xml.ko
===================================================================
<?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.5 -->
<manualpage metafile="dso.xml.meta">
<title>����������ü (DSO) ����</title>
<summary>
<p>����ġ �������� �����ڰ� ������ �����Ͽ� ������ ������
����� ������ �� �ִ� ���ȭ�� ���α��̴�. ������ �����Ҷ�
<code>httpd</code> �������Ͽ� �������� ����� ��������
�� �ִ�. �ƴϸ� ����� <code>httpd</code> �������ϰ�
�и��Ͽ� ����������ü(Dynamic Shared Objects, DSO)�� ��������
�� �ִ�. DSO ����� ������ �������Ҷ� �������ϰų�, Apache
Extension Tool (<a href="programs/apxs.html">apxs</a>)��
����Ͽ� ���߿� �������Ͽ� �߰��� �� �ִ�.</p>
<p>�� ������ DSO ��� ������ ��� �̷��� �����Ѵ�.</p>
</summary>
<section id="implementation"><title>����</title>
<related>
<modulelist>
<module>mod_so</module>
</modulelist>
<directivelist>
<directive module="mod_so">LoadModule</directive>
</directivelist>
</related>
<p>����ġ �ٽɿ� �������� �������ؾ���
<module>mod_so.c</module>��� ����� ����ġ �����
�о���̱����� DSO�� �����Ѵ�.
�� ����� <module>core</module>�� �����ϰ� DSO��
�� �� ���� ������ ����̴�. ������ �ٸ� ��� ����ġ �����
<a href="install.html">��ġ ����</a>���� ������
<code>configure</code>�� <code>--enable-<i>module</i>=shared</code>
�ɼ��� ����Ͽ� DSO�� �������� �� �ִ�. �����
<code>mod_foo.so</code>�� ���� DSO�� ���������� <code>httpd.conf</code>
���Ͽ� <module>mod_so</module>��
<directive module="mod_so">LoadModule</directive> ���ɾ
����Ͽ� ���� ���۽� Ȥ�� ����۽� �� ����� �о���� ��
�ִ�.</p>
<p>����ġ ���(Ư�� �����ڰ� ���� ���)�� ����� DSO ������ ����
��������� <a href="programs/apxs.html">apxs</a> (<em>APache
eXtenSion</em>)��� ���ο� ���� ���α��� �ִ�. �� ���α���
����ġ �ҽ� Ʈ�� <em>�ۿ���</em> DSO�� ����� �����
�������Ҷ� ����Ѵ�. ������ ����. ����ġ�� ��ġ�Ҷ�
<code>configure</code>�� <code>make install</code>��
����ġ C ��������� ��ġ�ϰ�, DSO ������ �������ϱ�����
�÷��� Ư���� �����Ϸ� �ɼǰ� ��Ŀ �ɼ��� <code>apxs</code>
���α��� ����Ѵ�. ���� <code>apxs</code>�� ����ϴ� ����ڴ�
����ġ ������ �ҽ� Ʈ������, �� DSO ������ ���� �÷��� Ư����
�����Ϸ� �ɼǿ� ��Ŀ �ɼǿ� �Ű��� �����ʰ� �ڽ��� ����ġ
��� �ҽ��� �������� �� �ִ�.</p>
</section>
<section id="usage"><title>���� ���</title>
<p>Apache 2.0�� DSO ��ɿ� ���� ª�� ������ ����̴�:</p>
<ol>
<li>
<em>�������� �ִ�</em> ����ġ ����� �������ϰ� ��ġ�ϴ�
���. ���� ��� <code>mod_foo.c</code>�� DSO
<code>mod_foo.so</code>��:
<example>
$ ./configure --prefix=/path/to/install --enable-foo=shared<br />
$ make install
</example>
</li>
<li>
<em>�����ڰ� ����</em> ����ġ ����� �������ϰ� ��ġ�ϴ�
���. ���� ��� <code>mod_foo.c</code>�� DSO
<code>mod_foo.so</code>��:
<example>
$ ./configure --add-module=module_type:/path/to/3rdparty/mod_foo.c --enable-foo=shared<br />
$ make install
</example>
</li>
<li>
���� ����� <em>���߿� ����ϱ�����</em> ����ġ�� �����ϴ�
���:
<example>
$ ./configure --enable-so<br />
$ make install
</example>
</li>
<li>
<em>�����ڰ� ����</em> ����ġ ����� �������ϰ� ��ġ�ϴ�
���. <a href="programs/apxs.html">apxs</a>�� ����Ͽ�
����ġ �ҽ� Ʈ�� <em>�ۿ���</em> <code>mod_foo.c</code>��
DSO <code>mod_foo.so</code>��:
<example>
$ cd /path/to/3rdparty<br />
$ apxs -c mod_foo.c<br />
$ apxs -i -a -n foo mod_foo.la
</example>
</li>
</ol>
<p>��� ��� �ϴ� ���� ����� �����ϵǸ�, <code>httpd.conf</code>��
<directive module="mod_so">LoadModule</directive> ���þ
����Ͽ� ����ġ�� �� ����� �о���̰� �����.</p>
</section>
<section id="background"><title>�������</title>
<p>�������� ���н������� <em>����������ü</em> (DSO)��
���� ��ŷ/�ε�(dynamic linking/loading)�̶�� �Ͽ�, Ư����
������ �����ڵ� ������ ����� �������� �������α���
�ּҰ����� �о���̴� ���� ����� �ִ�.</p>
<p>���� �ΰ��� ������� �о���� �� �ִ�. �ϳ��� �������α���
�����Ҷ� <code>ld.so</code>��� �ý��� ���α��� �ڵ�����
�о���̴� ����, �ٸ� �ϳ��� �������� ���α���
<code>dlopen()/dlsym()</code> �ý���ȣ��� ���н� �δ�(loader)��
�ý��� �������̽��� ����Ͽ� ���� �о���̴� ����.</p>
<p>ù��° ��� DSO�� ���� <em>�������̺귯��(shared libraries)</em>
Ȥ�� <em>DSO ���̺귯��</em>��� �θ���, ������
<code>libfoo.so</code>�� <code>libfoo.so.1.2</code> ����
�̸��� ������. �̵��� �ý��� ���丮(���� <code>/usr/lib</code>)��
�ְ�, �����Ͻ� ��Ŀ ���ɾ <code>-lfoo</code>�� �־�
�������ϰ� �����Ѵ�. �̷��� ���� ���� ���̺귯���� �������Ͽ�
�����ǿ���, ���α��� �����Ҷ� ��Ŀ �ɼ� <code>-R</code>��
���� ������ ���, ȯ�溯�� <code>LD_LIBRARY_PATH</code>��
������ ��� Ȥ�� <code>/usr/lib</code>���� ���н� �δ���
<code>libfoo.so</code>�� ã�� �� �ִ�. ���� �������α���
(���� ��ã��(unresolved)) �ɺ�(symbol)�� DSO���� ã�Եȴ�.</p>
<p>DSO�� ���� �������α��� �ɺ��� ã���ʱ� ������ (DSO��
���밡���� �Ϲ����� �ڵ� ���̺귯���̹Ƿ�) ã��� ���⼭
������. ���н� �δ��� �ɺ� ã�⸦ ������ ����ϹǷ� �������α���
���� DSO���� �ɺ��� ã�� �ʿ䰡 ����. (��� <code>ld.so</code>��
�θ��� �ڵ�� ������ �ƴ� ��� �������α��� ��ũ�Ǵ� �����
�����ڵ��� �Ϻδ�.) ����� ���̺귯�� �ڵ带 �������� �о���̴�
������ ��Ȯ�ϴ�. ���̺귯�� �ڵ尡 ��� ���α��� �ߺ��ؼ�
����Ǵ� ��� <code>libc.so</code>�� ���� �ý��� ���̺귯����
�ѹ��� ����DZ� ������ ��ũ ������ ����ȴ�.</p>
<p>�ι�° ��� DSO�� ���� <em>������ü(shared objects)</em>
Ȥ�� <em>DSO ����</em>�̶�� �θ���, (��Ģ�� �̸���
<code>foo.so</code>������) ������ Ȯ���ڴ� �����Ӵ�. ��
���ϵ��� ���� ���α� ��ü ���丮�� ��ġ�ϰ� �������α���
�ڵ����� ������� �ʴ´�. ��� �������α��� �����
<code>dlopen()</code>�� ����Ͽ� DSO�� �ּҰ�����
���� �о�鿩�� �Ѵ�. �̶� �������α��� DSO���� �ɺ���
ã�� �ʴ´�. ��� �տ��� �� ���н� �δ��� �ڵ����� �������ϰ�
���������� �̹� �о���� DSO ���̺귯��(Ư�� �� �����ϴ�
<code>libc.so</code>�� ��� �ɺ�)���� DSO�� (���� ��ã��)
�ɺ��� ã�´�. ���� DSO�� ��ġ ó������ �������α���
�������� ��ũ�ȰͰ� ���� ���������� �ɺ��� �˰Եȴ�.</p>
<p>DSO�� API�� �̿��ϱ����ؼ� ���������� �������α���
<code>dlsym()</code>���� DSO���� Ư�� �ɺ��� ã�Ƽ�, ������
����ϱ����� ����ġ(dispatch) ǥ <em>��</em>�� �����Ѵ�.
�ٸ� ���� �������α��� ����� ��� �Ǻ��� ���� ã�ƾ��Ѵ�.
�̷� ������ ������ ���α��� �Ϻθ� ���α���
�ʿ��Ҷ����� �о������ �ʾƵ� (���� �� ��������
�ʰ�) �ȴٴ� ���̴�. �⺻ ���α��� ����� Ȯ���ϱ�����
�ʿ��� ��� �� �κ��� �������� �о���� �� �ִ�.</p>
<p>�̷� DSO ������ �ڿ������� ��������, �ּ��� ����� ����
�Ѱ����ִ�. ���α��� Ȯ���ϱ����� DSO�� ����Ҷ� DSO��
�������α��� �ɺ��� ã�� ���̴�. ��? DSO�� �������α���
�ɺ��� "������ ã�� ��"�� (���̺귯���� �ڽ��� ����ϴ� ���α���
���� �ٴ�) ���̺귯�� ���迡 ���ϸ�, ��� �÷�������
���������ʰ� ǥ��ȭ������ �ʾұ� �����̴�. ������ ����������
�����ɺ�(global symbol)�� ���� �ͽ���Ʈ(export)���� �ʱ����
DSO�� ����� �� ����. DSO�� ����Ͽ� ������ ���α��� Ȯ���Ϸ���
��Ŀ���� ��� �����ɺ��� �ͽ���Ʈ�ϵ��� �����ϴ� ���� �ֵ�
�ذ�å�̴�.</p>
<p>�������̺귯���� DSO ����� �����Ģ��� �������̱����
�ü���� �����ϴ� ���� ��� ������ ���̺귯���� ����Ѵ�.
�ݴ�� ���� ���α��� ���α��� Ȯ���ϱ����� ������ü��
������� �ʴ´�.</p>
<p>1998�� ������ ������ ����� Ȯ���ϱ����� DSO ������ �����
����Ʈ���� ��Ű���� (XS ������ DynaLoader ����� �����)
Perl 5, Netscape Server <em>��</em>���� �幰����. ����ġ��
�̹� ����� Ȯ���ϱ����� ��� ������ ����߰� �ܺ� �����
����ġ �ٽɱ�ɿ� �����ϱ����� ���������� ����ġ�����
�̿��� ���ٹ���� ����߱���� 1.3 �������� �� �뿭�� �շ��ߴ�.
���� ����ġ�� ������ ����� �о���̴µ� DSO�� ����ϵ���
�����������.</p>
</section>
<section id="advantages"><title>�����</title>
<p>�տ��� ���� DSO�� ����ϸ� ������ ���� ������ �ִ�:</p>
<ul>
<li>���� ���� ���μ����� �����Ͻ� <code>configure</code>
�ɼǴ�� <code>httpd.conf</code>�� <directive
module="mod_so">LoadModule</directive>�� ����Ͽ� �����߿�
���յǹǷ� ���� ��Ű�� ������ �� �����ϴ�. ���� ��� �ѹ���
����ġ ��ġ������ �ٸ� ����(ǥ�� ������ SSL ����, �ּ�ȭ
������ ����߰� ���� [mod_perl, PHP3] <em>��</em>)�� ������
�� �ִ�.</li>
<li>������ ��ġ�Ŀ��� �����ڰ� ���� ����� ����Ͽ� ����
Ȯ���� �� �ִ�. �ּ��� ����� ��Ű�� �����ڴ� ����ġ �ٽ�
������ ������ PHP3, mod_perl, mod_fastcgi <em>��</em>��
�߰� ��Ű���� ���� �� �־ ū �̵��̴�.</li>
<li>DSO�� <code>apxs</code>�� ������ ����ġ �ҽ� Ʈ�� �ۿ���
�۾��ϰ� <code>apxs -i</code>�� <code>apachectl restart</code>
���ɾ���� ���� ������ ����� �� ������ �������� ����ġ
������ �ݿ��� �� �־ �� ���� ����ġ ����� ������ ��
�ִ�.</li>
</ul>
<p>DSO�� ������ ���� ������ �ִ�:</p>
<ul>
<li>���α��� �ּҰ����� �ڵ带 �������� �о���̴� �����
���������ʴ� �ü���� �ֱ� ������ ��� �÷������� DSO��
����� �� ����.</li>
<li>���н� �δ��� �ɺ��� ã�ƾ��ϱ� ������ ���� ������
�� 20% ���� �ʾ�����.</li>
<li>������ ��ġ�����ڵ�(position independent code, PIC)
������ �����ּ�����(absolute addressing)���� ����
����ּ�����(relative addressing)�� ������ ������� �����
�ʿ��ϹǷ� � �÷������� ����� �� 5% ���� �ʴ�.</li>
<li>DSO ����� �ٸ� DSO��� ���̺귯��(<code>ld -lfoo</code>)��
��ũ�� �� ���� �÷����� �ֱ���� (���� ��� ELF���
�÷����� ���������� a.out��� �÷����� ���� �� �����
�������� �ʴ´�) ��� ������ �� DSO�� ����� �� ����.
�ٸ� ���� DSO ���Ϸ� �������ϴ� ����� ����ġ �ٽɰ� ����ġ
�ٽ��� ����ϴ� C ���̺귯��(<code>libc</code>)�� �ٸ�
����/���� ���̺귯��, ��ġ�����ڵ带 ��� �ִ� ���� ���̺귯��
��ī�̺�(<code>libfoo.a</code>)�� �ɺ����� ����� �� �ִ�.
�ٸ� �ڵ带 ����Ϸ��� ����ġ �ٽ��� �װ��� �����ϴ���,
<code>dlopen()</code>���� ���� �ڵ带 �о�鿩�� �Ѵ�.</li>
</ul>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/env.xml.ko
Index: env.xml.ko
===================================================================
<?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.13 -->
<manualpage metafile="env.xml.meta">
<title>����ġ�� ȯ�溯��</title>
<summary>
<p>����ġ �������� <em>ȯ�溯��(environment variable)</em>���
������ ������ ������ �� �ִ�. �� ������ ����Ͽ� �α׳�
�������� �� ���� �۾��� �����Ѵ�. ��, ȯ�溯���� CGI ��ũ��Ʈ��
���� �ܺ� ���α��� ����ϴ� ������ �ȴ�. �� ������ ȯ�溯����
�ٷ�� ����ϴ� �پ��� ������� �����Ѵ�.</p>
<p>�� �������� <em>ȯ�溯��</em>��� �θ�����, �ü������
���ϴ� ȯ�溯���� �ٸ���. �� ������ ����ġ ���ο� ����ǰ�
���ȴ�. ȯ�溯���� CGI ��ũ��Ʈ�� Server Side Include
��ũ��Ʈ�� �Ѱ������� ���� �ü�� ȯ�溯���� �ȴ�. ������
�����ϴ� �ü�� ȯ���� �����ϰ� �ʹٸ� �ü�� ������
ȯ���� �����ؾ� �Ѵ�.</p>
</summary>
<section id="setting">
<title>ȯ�溯�� �����ϱ�</title>
<related>
<modulelist>
<module>mod_env</module>
<module>mod_rewrite</module>
<module>mod_setenvif</module>
<module>mod_unique_id</module>
</modulelist>
<directivelist>
<directive module="mod_setenvif">BrowserMatch</directive>
<directive module="mod_setenvif">BrowserMatchNoCase</directive>
<directive module="mod_env">PassEnv</directive>
<directive module="mod_rewrite">RewriteRule</directive>
<directive module="mod_env">SetEnv</directive>
<directive module="mod_setenvif">SetEnvIf</directive>
<directive module="mod_setenvif">SetEnvIfNoCase</directive>
<directive module="mod_env">UnsetEnv</directive>
</directivelist>
</related>
<section id="basic-manipulation">
<title>�⺻���� ȯ�漳��</title>
<p>����ġ���� ȯ�溯���� �����ϴ� ���� �⺻���� �����
���������� <directive module="mod_env"
>SetEnv</directive> ���þ ����ϴ� ���̴�. <directive
module="mod_env">PassEnv</directive> ���þ ����Ͽ�
������ ������ ������ ȯ�溯���� ������ ���� �ִ�.</p>
</section>
<section id="conditional">
<title>��û�� ���� ���Ǻ� ����</title>
<p>�� �����ϰ�, mod_setenvif�� �����ϴ� ���þ�� ��û����
��û�� Ư¡�� ���� ȯ�溯���� �����Ѵ�. ���� ���, Ư��
�������� (User-Agent) ��û�ϰų� Ư�� Referer (�������
Ʋ���� �ʾҴ�) ����� �ִ� ��쿡�� ������ ������ ��
�ִ�. ������ mod_rewrite�� �ִ� <directive
module="mod_rewrite">RewriteRule</directive>��
<code>[E=...]</code> �ɼ��� ����Ͽ� �� �����ϰ� ȯ�溯����
������ ���� �ִ�.</p>
</section>
<section id="unique-identifiers">
<title>������ ���</title>
<p>���������� mod_unique_id�� �� ��û�� ���� � ��쿡��
"���" ��û�߿� Ȯ���� ������(��ġ������) ������
<code>UNIQUE_ID</code> ȯ�溯���� �����Ѵ�.</p>
</section>
<section id="standard-cgi">
<title>ǥ�� CGI ����</title>
<p>CGI ��ũ��Ʈ�� SSI ������ ����ġ �������� �����Ͽ��ų�
������ ������ ȯ�溯�� �ܿ� �߰��� <a
href="http://cgi-spec.golux.com/">CGI �Ծ�</a>�� ������
��û�� ���� ������ �˷��ִ� ȯ�溯������ �´�.</p>
</section>
<section id="caveats">
<title>������ ��</title>
<ul>
<li>ȯ�漳�� ���þ ����Ͽ� ǥ�� CGI ������ �����ϰų�
������ �� ����.</li>
<li><a href="suexec.html">suexec</a>�� CGI ��ũ��Ʈ��
�����ϴ� ���, �����ϱ����� CGI ��ũ��Ʈ�� ȯ����
<em>������</em> �����鸸 �������� û�ҵȴ�.
<em>������</em> ���� ����� �����Ͻ�
<code>suexec.c</code>�� ���ǵȴ�.</li>
<li>������ ���� ȯ�溯�� �̸����� ���� ����, ����,
���ٹ��ڸ� ����ϴ� ���� ����. ��, ù��° ���ڷ�
���ڸ� ��������ʴ� ���� ����. CGI ��ũ��Ʈ�� SSI
�������� �Ѿ�� �̿��� ���ڴ� ���ٷ� ��ü�ȴ�.</li>
</ul>
</section>
</section>
<section id="using">
<title>ȯ�溯�� ����ϱ�</title>
<related>
<modulelist>
<module>mod_authz_host</module>
<module>mod_cgi</module>
<module>mod_ext_filter</module>
<module>mod_headers</module>
<module>mod_include</module>
<module>mod_log_config</module>
<module>mod_rewrite</module>
</modulelist>
<directivelist>
<directive module="mod_authz_host">Allow</directive>
<directive module="mod_log_config">CustomLog</directive>
<directive module="mod_authz_host">Deny</directive>
<directive module="mod_ext_filter">ExtFilterDefine</directive>
<directive module="mod_headers">Header</directive>
<directive module="mod_log_config">LogFormat</directive>
<directive module="mod_rewrite">RewriteCond</directive>
<directive module="mod_rewrite">RewriteRule</directive>
</directivelist>
</related>
<section id="cgi-scripts">
<title>CGI ��ũ��Ʈ</title>
<p>ȯ�溯���� �ֵ� �뵵�� �ϳ��� CGI ��ũ��Ʈ�� ������
��ȯ�ϴ� ���̴�. �տ��� �����ߵ��� ����ġ �������� ������
�����ܿ� ��û�� ���� ǥ�� ������ ���� ������ CGI ��ũ��Ʈ��
�Ѿ��. �� �ڼ��� ������ <a href="howto/cgi.html">CGI
���丮��</a>�� �����϶�.</p>
</section>
<section id="ssi-pages">
<title>SSI ������</title>
<p>mod_include�� <code>INCLUDES</code> ���Ͱ� ó���ϴ�
�����Ľ� (SSI) ������ <code>echo</code> ��Ҹ� ����Ͽ�
ȯ�溯���� ����� �� �ְ�, ȯ�溯���� ����Ͽ� ��û��
Ư¡�� ���� �帧���� ��ҷ� �������� �Ϻθ� ������ ��
�ִ�. ����ġ�� �� SSI �������� ������ ������ ǥ�� CGI
ȯ�溯���� �����Ѵ�. �� �ڼ��� ������ <a
href="howto/ssi.html">SSI ���丮��</a>�� �����϶�.</p>
</section>
<section id="access-control">
<title>��������</title>
<p><code>allow from env=</code>�� <code>deny from env=</code>
���þ ����Ͽ� ȯ�溯�� ���� ���� �������� ������
������ �� �ִ�. <directive
module="mod_setenvif">SetEnvIf</directive>�� ���� ����ϸ�
Ŭ���̾�Ʈ�� Ư¡�� ���� �����Ӱ� �������� ������ ������
�� �ִ�. ���� ���, Ư�� �������� (User-Agent) ������
�ź��� �� �ִ�.</p>
</section>
<section id="logging">
<title>���Ǻ� �α�</title>
<p><directive module="mod_log_config">LogFormat</directive>��
<code>%e</code> �ɼ��� ����Ͽ� ȯ�溯���� ���� �α�
����� �� �ִ�. ��, <directive
module="mod_log_config">CustomLog</directive> ���þ���
���Ǻ� ������ ����ϸ� ȯ�溯���� ��Ȳ�� ���� ��û��
�α����� ���θ� ������ �� �ִ�. <directive
module="mod_setenvif">SetEnvIf</directive>�� ���� ����Ͽ�
� ��û�� �α����� �����Ӱ� ������ �� �ִ�. ���� ���,
���ϸ��� <code>gif</code>�� ������ ��û�� �α����� �ʰų�,
�ܺ� ��Ʈ���� �ִ� Ŭ���̾�Ʈ�� ��û���� �α��� �� �ִ�.</p>
</section>
<section id="response-headers">
<title>���Ǻ� ���� ���</title>
<p><directive module="mod_headers">Header</directive>
���þ�� Ŭ���̾�Ʈ���� ������ ������ ȯ�溯���� ������
���� � HTTP ����� �������� ������ �� �ִ�. ����
���, Ŭ���̾�Ʈ�� ��û�� Ư�� ����� �ִ� ��쿡��
� ���� ����� ���� �� �ִ�.</p>
</section>
<section id="external-filter">
<title>�ܺ� ���� �����ϱ�</title>
<p><module>mod_ext_filter</module>�� <directive
module="mod_ext_filter">ExtFilterDefine</directive>
���þ�� ������ �ܺ� ���� <code>disableenv=</code>��
<code>enableenv=</code> �ɼ��� ����Ͽ� ȯ�溯���� ����
���������� ������ �� �ִ�.</p>
</section>
<section id="url-rewriting">
<title>URL ���ۼ�(Rewriting)</title>
<p><directive module="mod_rewrite">RewriteCond</directive>��
<em>TestString</em>�� <code>%{ENV:...}</code> ������
����ϸ� mod_rewrite�� ���ۼ� ������ ȯ�溯���� ����
�ٸ��� �ൿ�Ѵ�. mod_rewrite���� �տ� <code>ENV:</code>��
�������ʰ� �����ϴ� ������ ���� ȯ�溯���� �ƴ��� �����϶�.
���� �ٸ� ���� ���� �� ���� mod_rewrite�� ������
������.</p>
</section>
</section>
<section id="special">
<title>Ư���� ������ ȯ�溯��</title>
<p>Ŭ���̾�Ʈ�� ��Ȱ�� �����ϱ����� ����ġ�� Ư����
Ŭ���̾�Ʈ�� ���� �ڽ��� �ൿ�� �����Ѵ�. ���� <directive
module="mod_setenvif">BrowserMatch</directive>����
ȯ�溯���� �����Ͽ� �̷� ������ �ذ��Ѵ�. ���� <directive
module="mod_env">SetEnv</directive>�� <directive
module="mod_env">PassEnv</directive>�ε� �����ϴ�.</p>
<section id="downgrade">
<title>downgrade-1.0</title>
<p>��û�� ���� ������ ����ϴ��� HTTP/1.0 ��û����
ó���Ѵ�.</p>
</section>
<section id="force-no-vary">
<title>force-no-vary</title>
<p>������ Ŭ���̾�Ʈ���� ������ ���� ���� �������
<code>Vary</code> �ʵ带 ����. � Ŭ���̾�Ʈ�� ��
�ʵ带 ����� �ؼ����� ���Ѵ�. �� ������ �̷� ������
�ذ��Ѵ�. ����, �� ������
<strong>force-response-1.0</strong>�� �����Ѵ�.</p>
</section>
<section id="force-response">
<title>force-response-1.0</title>
<p>HTTP/1.0 ��û�� �ϴ� Ŭ���̾�Ʈ���� HTTP/1.0 ������
�����Ѵ�. ���� AOL ���Ͻÿ� ������ �־ ���������.
� HTTP/1.0 Ŭ���̾�Ʈ�� HTTP/1.1 ������ ������ �����
�������� �����Ƿ�, �� ������ �ذ��ϱ����� ����Ѵ�.</p>
</section>
<section id="gzip-only-text-html">
<title>gzip-only-text/html</title>
<p>���� "1"�̸� <code>text/html</code>�� �ƴ� content-type��
���� <module>mod_deflate</module>�� DEFALTE �������
������� �ʴ´�. (gzip �Ӹ� �ƴ϶� "identity"�� �ƴ� ���
���ڵ���) �������� ������ ������ ��쿡��
<module>mod_negotiation</module>�� �� ������ �����Ѵ�.</p>
</section>
<section id="no-gzip"><title>no-gzip</title>
<p>�� �ɼ��� �����ϸ� <module>mod_deflate</module>��
<code>DEFLATE</code> ���� ������� �ʰ�,
<module>mod_negotiation</module>�� ���ڵ��� �ڿ���
������ �ʴ´�.</p>
</section>
<section id="nokeepalive">
<title>nokeepalive</title>
<p><directive module="core">KeepAlive</directive>��
�����Ѵ�.</p>
</section>
<section id="prefer-language"><title>prefer-language</title>
<p>�� ������ <module>mod_negotiation</module>�� �ൿ��
������ ��ģ��. ������ (<code>en</code>, <code>ja</code>,
<code>x-klingon</code> ��) ����±� ����ִٸ�,
<module>mod_negotiation</module>�� �� ���� �� ������
������ �õ��Ѵ�. �� ������ ���ٸ� �Ϲ����� <a
href="content-negotiation.html">����</a> ������ �����Ѵ�.</p>
</section>
<section id="redirect-carefully">
<title>redirect-carefully</title>
<p>������ �� ������ Ŭ���̾�Ʈ���� �����̷����� ������.
���� �����̷����� ó���ϴµ� ������ �ִ� Ŭ���̾�Ʈ��
���� ����Ѵ�. ���� Microsoft�� WebFolders ����Ʈ���
DAV ��带 ���� ���丮 �ڿ��� �����̷����� ó���ϴµ�
������ �־ ���������.</p>
</section>
<section id="suppress-error-charset">
<title>suppress-error-charset</title>
<p><em>2.0.40 ���� ������ �ִ�</em></p>
<p>����ġ�� Ŭ���̾�Ʈ�� ��û�� ���� �������� �����̷�����
������ Ŭ���̾�Ʈ�� �ڵ����� �����̷����� ������ ���ϴ�(Ȥ��
�ʴ�) ��쿡 ����Ͽ� ���信 ����ڿ��� ������ ������ �����Ѵ�.
����ġ�� ���� �� ���� ����ġ�� ����ϴ� ���������� ISO-8859-1��
ǥ���Ѵ�.</p>
<p>���� �����̷��ǵ� �������� �ٸ� ���������� ����� ���
� �̻��� ������ ������ ���� �������� �ƴ϶� �����̷���
�������� ���������� ����Ϸ��� �Ѵ�. ���� ���, �����
�̻��ϰ� ���� �� �ִ�.</p>
<p>�� ȯ�溯���� ����ġ�� �����̷��� �������� ����������
���������ʵ��� �Ͽ�, �̷� �������� ���� �������� ����������
�ùٷ� ����ϰ� �����.</p>
</section>
</section>
<section id="examples">
<title>����</title>
<section id="misbehaving">
<title>�߸� �����ϴ� Ŭ���̾�Ʈ���� ���� �������� �ൿ
�����ϱ�</title>
<p>Ŭ���̾�Ʈ���� �̹� �˷��� ������ �ذ��ϱ�����
httpd.conf�� ���� ������ �����ϱ� �ٶ���.</p>
<example><pre>
#
# ���� ���þ���� �Ϲ����� HTTP ������ �����Ѵ�.
# ù��° ���þ�� Netscape 2.x�� �̸� ������ ����������
# keepalive�� ������� �ʴ´�. �̵� ������ ������ ������ �ִ�.
# �ι�° ���þ�� HTTP/1.1 ������ �߸��Ǿ��� 301�̳� 302
# (�����̷���) ���信 ����� keepalive�� ����� ��������
# ���ϴ� Microsoft Internet Explorer 4.0b2�� ���� ���̴�.
#
BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
#
# ���� ���þ�� �⺻���� HTTP/1.1 ������ �������� ���Ͽ�
# HTTP/1.0 �Ծ��� ���� ���������� HTTP/1.1 ������ ������ �ʴ´�.
#
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0</pre></example>
</section>
<section id="no-img-log">
<title>���� �α� �̹����� ���� ��û�� �α����� �ʱ�</title>
<p>�� ������ �̹����� ���� ��û�� ���� �α� �������
�ʴ´�. Ư�� ���丮�� ���� Ȥ�� Ư�� ȣ��Ʈ���� ��
��û�� �α����� �ʵ��� ���� ������ �� �ִ�.</p>
<example><pre>
SetEnvIf Request_URI \.gif image-request
SetEnvIf Request_URI \.jpg image-request
SetEnvIf Request_URI \.png image-request
CustomLog logs/access_log common env=!image-request</pre></example>
</section>
<section id="image-theft">
<title>"�̹��� ����" ����</title>
<p>�� ���� ���� �������� ����ڰ� �������� ������ �ִ�
�̹����� �������� ���ϵ��� �ϴ� ����� �����Ѵ�. ��
������ ���������� ������, ���ѵ� ��쿡�� �����Ѵ�.
�츮�� ��� �̹����� /web/images ���丮 �ȿ� �ִٰ�
�����Ѵ�.</p>
<example><pre>
SetEnvIf Referer "^http://www.example.com/" local_referal
# Referer ������ ������ �ʴ� �������� ����Ѵ�
SetEnvIf Referer "^$" local_referal
<Directory /web/images>
Order Deny,Allow
Deny from all
Allow from env=local_referal
</Directory></pre></example>
<p>�� ����� ���� �ڼ��� ������ ApacheToday ���丮�� "<a
href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-PS">
Keeping Your Images from Adorning Other Sites</a>"�� �����϶�.</p>
</section>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/filter.xml.ko
Index: filter.xml.ko
===================================================================
<?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.6 -->
<manualpage metafile="filter.xml.meta">
<title>����</title>
<summary>
<p>�� ������ ����ġ���� ���� ����ϴ� ����� �����Ѵ�.</p>
</summary>
<section id="filters">
<title>����</title>
<related>
<modulelist>
<module>mod_deflate</module>
<module>mod_ext_filter</module>
<module>mod_include</module>
</modulelist>
<directivelist>
<directive module="mod_mime">AddInputFilter</directive>
<directive module="mod_mime">AddOutputFilter</directive>
<directive module="mod_mime">RemoveInputFilter</directive>
<directive module="mod_mime">RemoveOutputFilter</directive>
<directive module="mod_ext_filter">ExtFilterDefine</directive>
<directive module="mod_ext_filter">ExtFilterOptions</directive>
<directive module="core">SetInputFilter</directive>
<directive module="core">SetOutputFilter</directive>
</directivelist>
</related>
<p><em>����(filter)</em>�� ������ �����ų� �� �ڷῡ
����Ǵ� �۾��̴�. Ŭ���̾�Ʈ�� �������� ������ �ڷ��
<em>�Է�����(input filter)</em>�� ó���ϰ�, ������
Ŭ���̾�Ʈ���� ������ �ڷ�� <em>�������(output filter)</em>��
ó���Ѵ�. �ڷῡ ���� ���� ����� �� �ְ�, ���� ������
������ ������ �� �ִ�.</p>
<p>����ġ�� �̾�ޱ�(byte-range) ��û ���� ó���ϱ�����
���������� ���� ����Ѵ�. ��, ���� ���þ
����Ͽ� ���ð����� ���� �����ϴ� �� �ִ�.
<directive module="core">SetInputFilter</directive>,
<directive module="core">SetOutputFilter</directive>,
<directive module="mod_mime">AddInputFilter</directive>,
<directive module="mod_mime">AddOutputFilter</directive>,
<directive module="mod_mime">RemoveInputFilter</directive>,
<directive module="mod_mime">RemoveOutputFilter</directive>
���þ�� �ڷḦ ó���ϴ� ���� �����Ѵ�.</p>
<p>���� ����ġ ������ �������� ����ڰ� ������ �� �ִ� ������
���� ���� �����Ѵ�.</p>
<dl>
<dt>INCLUDES</dt>
<dd><module>mod_include</module>�� ó���ϴ� Server-Side Includes</dd>
<dt>DEFLATE</dt>
<dd><module>mod_deflate</module>�� ����Ͽ� �����
Ŭ���̾�Ʈ�� ������ ���� ����
</dd>
</dl>
<p>��, <module>mod_ext_filter</module> ����� ����Ͽ�
�ܺ� ���α��� ���ͷ� ����� ���� �ִ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/glossary.xml.ko
Index: glossary.xml.ko
===================================================================
<?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.8 -->
<manualpage metafile="glossary.xml.meta">
<title>���</title>
<summary>
<p>�� ������ �� ���� �Ϲݿ� ����, Ư�� ����ġ�� ���õ�, ������
�����Ѵ�. �� ���信 ���� �ڼ��� ������ ��ũ�� �����϶�.
<transnote>���� �ܾ��� ������ �ѱ� ������ �ƴ϶�, ������
�����Դϴ�. ������ǥ�� <a
href="http://www.whiterabbitpress.com/osp/apache/">����</a>��
�����ϱ� �ٶ��ϴ�.</transnote></p>
</summary>
<section id="definitions"><title>����</title>
<dl>
<dt><a name="authentication">���� (Authentication)</a></dt>
<dd>����, Ŭ���̾�Ʈ, ����� �� ��Ʈ�� ��ü�� ����
Ȯ��.<br /> ����: <a href="howto/auth.html">����, ���Ѻο�,
��������</a></dd>
<dt><a name="accesscontrol">�������� (Access Control)</a></dt>
<dd>��Ʈ�� ������ ���� ������ ����. ����ġ������ ���� Ư��
<em>URL</em>�� ������ �����ϱ����� ����Ѵ�.<br /> ����: <a
href="howto/auth.html">����, ���Ѻο�, ��������</a></dd>
<dt><a name="algorithm">�˰����� (Algorithm)</a></dt>
<dd>������ �ܰ踦 ���� ������ Ǫ�� ��Ȯ�� ���� Ȥ�� ��Ģ��.
��ȣȭ�� ���� �˰������� ���� <dfn>��ȣ��(Ciphers)</dfn>���
���.</dd>
<dt><a name="apacheextensiontool">APache eXtension Tool</a>
<a name="apxs">(apxs)</a></dt> <dd><a href="#module">���
(module)</a> �ҽ��� ����������ü (<a href="#dso">DSO</a>)��
�������ϰ� ����ġ �������� ��ġ�ϴ� �۾��� ���� perl
��ũ��Ʈ.<br /> ����: <a href="programs/apxs.html">Manpage:
apxs</a></dd>
<dt><a name="certificate">������ (Certificate)</a></dt>
<dd>������ Ŭ���̾�Ʈ�� ���� ��Ʈ�� ��ü�� �����ϴ� �ڷ�.
���������� ������ (subject��� ��), ���� <em>�������
(Certificate Authority)</em> (issuer��� ��), ��������
����Ű, CA�� ���� ���� � ���� X.509 ������ �ִ�.
��Ʈ�� ��ü�� CA �������� ����Ͽ� ������ �˻��Ѵ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="certificationauthority">������� (Certification
Authority</a>, <a name="ca">CA)</a></dt> <dd>������ �������
��Ʈ�� ��ü�� ���� ������ �����ϴ� �ŷ��ϴ� ������. �ٸ� ��Ʈ��
��ü���� �������� CA�� ������ �����ڸ� �����ߴ��� Ȯ���� ��
�ִ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="certificatsigningrequest">���� ���� ��û (Certificate
Signing Request</a>, <a name="csr">CSR)</a></dt> <dd><em>�������
(Certification Authority)</em>�� �����Ͽ� CA <em>������
(Certificate)</em>�� <em>����Ű (Private Key)</em>�� ������
���� ������������ ������. CSR�� �����Ǹ� ���� �������� �ȴ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="cipher">��ȣ�� (Cipher)</a></dt> <dd>�ڷḦ
��ȣȭ�ϴ� �˰������̳� �ý���. ���� ���, DES, IDEA, RC4 ���� �ִ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="ciphertext">��ȣ�� (Ciphertext)</a></dt> <dd><a
href="#plaintext">�� (Plaintext)</a>�� <a href="#cipher">��ȣ��
(Cipher)</a>�� �� ���.<br /> ����: <a href="ssl/">SSL/TLS
��ȣȭ</a></dd>
<dt><a name="commongatewayinterface">���� ����Ʈ���� �������̽�
(Common Gateway Interface</a>, <a name="cgi">CGI)</a></dt>
<dd>�ܺ� ���α��� ��û�� ������ �� �ֵ��� ���� �������� �ܺ�
���α� ������ �������̽� ǥ��. �������̽��� ���� <a
href="http://hoohoo.ncsa.uiuc.edu/cgi/overview.html">NCSA</a>��
����������, <a href="http://cgi-spec.golux.com/">RFC
������Ʈ</a>�̱ �ϴ�.<br />
����: <a href="howto/cgi.html">CGI�� ���� ���� ����</a></dd>
<dt><a name="configurationdirective">���� ���þ� (Configuration
Directive)</a></dt>
<dd>����: <a href="#directive">���þ�</a></dd>
<dt><a name="configurationfile">�������� (Configuration File)</a></dt>
<dd>����ġ�� �����ϴ� <a href="#directive">���þ� (directive)</a>��
����� �ؽ�Ʈ����.<br />
����: <a href="configuring.html">��������</a></dd>
<dt><a name="connect">CONNECT</a></dt> <dd>HTTP�� ����
�ڷ��帧�� ���Ͻ��ϴ� HTTP <a href="#method">��� (method)</a>.
SSL �������� �� �ٸ� ���������� ���α����� ����Ѵ�.</dd>
<dt><a name="context">������ (Context)</a></dt> <dd><a
href="#configurationfile">�������� (configuration file)</a>����
Ư�� <a href="#directive">���þ� (directive)</a>�� ����� ��
�ִ� ���.<br /> ����: <a
href="mod/directive-dict.html#Context">����ġ ���þ �����ϴµ�
����� �������</a></dd>
<dt><a name="digitalsignature">���ڼ��� (Digital Signature)</a></dt>
<dd>�������� �ٸ� ������ �˻��ϴ� ��ȣȭ�� ���ڵ�. <em>�������
(Certification Authority)</em>�� <em>������ (Certificate)</em>��
���Ե� <em>����Ű (Public Key)</em>�� �ؽ��� ����� �ڽ���
<em>����Ű (Private Key)</em>�� ��ȣȭ�Ͽ� ������ �����.
���� CA�� ����Ű���� ������ Ǯ �� �ֱ����, CA�� <em>������
(Certificate)</em>�� ���� ��Ʈ�� ��ü�� ���������� ������
�� �ִ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="directive">���þ� (Directive)</a></dt> <dd>����ġ��
���� ����� �����ϴ� ���� ���ɾ�. ���þ�� <a
href="#configurationfile">�������� (Configuration File)</a>����
����Ѵ�.<br /> ����: <a href="mod/directives.html">���þ� ���</a></dd>
<dt><a name="dynamicsharedobject">����������ü (Dynamic Shared
Object)</a> <a name="dso">(DSO)</a></dt> <dd> ����ġ httpd
�������ϰ� ������ �������Ͽ� �ʿ��Ҷ� �о���� �� �ִ� <a
href="#module">��� (Module)</a>.<br />
����: <a href="dso.html">����������ü ����</a></dd>
<dt><a name="environmentvariable">ȯ�溯�� (Environment Variable)</a>
<a name="env-variable">(env-variable)</a></dt>
<dd>������ �����ϰ� ���α����� ����� ���� �ü�� ���� �����ϴ�
����. ����ġ���� ȯ�溯����� ���� ������ ������, �� ȯ����
�ƴ϶� ����ġ ���ο� ����ȴ�.<br />
����: <a href="env.html">����ġ�� ȯ�溯��</a></dd>
<dt><a name="export-crippled">����� (Export-Crippled)</a></dt>
<dd>�̱� �����������(Export Administration Regulations, EAR)��
�ؼ��ϱ����� ��ȣ(�� ����)�� ������ ����. ����� ��ȣȭ
����Ʈ����� Ű ũ�Ⱑ �۰� ���ѵǾ�, <em>��ȣ��
(Ciphertext)</em>�� ������ ���(brute force)���� Ǯ �� �ִ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ (SSL/TLS Encryption)</a></dd>
<dt><a name="filter">���� (Filter)</a></dt> <dd>������ �����ų�
�� �ڷḦ ó���ϴ� ����. �Է����ʹ� Ŭ���̾�Ʈ�� ������ ������
�ڷḦ ó���ϰ�, ������ʹ� ������ Ŭ���̾�Ʈ���� ���� ������
ó���Ѵ�. ���� ���, <code>INCLUDES</code> ������ʹ� ������
<a href="#ssi">Server Side Includes</a>�� ó���Ѵ�. <br />
����: <a href="filter.html">����</a></dd>
<dt><a name="fully-qualifieddomain-name">������ �����θ�
(Fully-Qualified Domain-Name)</a> <a name="fqdn">(FQDN)</a></dt>
<dd>IP �ּҿ� �����ϴ�, ȣ��Ʈ���� �����θ����� ������ ��Ʈ��
��ü�� ������ �̸�. ���� ���, <code>www</code>�� ȣ��Ʈ���̰�
<code>example.com</code>�� �����θ��϶�,
<code>www.example.com</code>�� ������ �����θ��̴�.</dd>
<dt><a name="handler">�ڵ鷯 (Handler)</a></dt> <dd>������
��û�Ҷ� �����ϴ� �۾��� ���� ����ġ ���� ǥ��. �Ϲ������� ������
���� ������ ���� �Ϲ����� �ڵ鷯�� ������. ���� ��� ������
������ ������ ����������, � ���� ������ ����
"ó���ȴ�(handled)". ���� ���, <code>cgi-script</code> �ڵ鷯��
<a href="#cgi">CGI</a>�� ó���� ������ �����Ѵ�.<br />
����: <a href="handler.html">����ġ���� �ڵ鷯 ���</a></dd>
<dt><a name="header">��� (Header)</a></dt>
<dd><a href="#http">HTTP</a> ��û�� ���信�� ���� ���� ������
������ �κ����� ������ �����ϴ� ������ �ִ�.</dd>
<dt><a name=".htaccess">.htaccess</a></dt> <dd>�������� �ȿ� �ִ�
<a href="#configurationfile">�������� (configuration file)</a>��,
���� <a href="#directive">���þ� (directive)</a>�� �ڽ��� ��ġ��
���丮�� ��� �������丮�� �����Ѵ�. �̸��� �� ��
���Ͽ����� �ܼ��� �������� ���þ�ܿ� ���� ��� ������ ���þ
����� �� �ִ�.<br />
����: <a href="configuring.html">��������</a></dd>
<dt><a name="httpd.conf">httpd.conf</a></dt>
<dd>����ġ �� <a href="#configurationfile">�������� (configuration
file)</a>. �⺻���� ��ġ��
<code>/usr/local/apache2/conf/httpd.conf</code>������, �����Ҷ�
Ȥ�� �����϶� �������� ������ �� �ִ�.<br />
����: <a href="configuring.html">��������</a></dd>
<dt><a name="hypertexttransferprotocol">HyperText Transfer
Protocol</a> <a name="http">(HTTP)</a></dt> <dd>������̵�������
����ϴ� ǥ�� ���� ��������. ����ġ��
<a href="http://ietf.org/rfc/rfc2616.txt">RFC 2616</a>����
������ HTTP/1.1�̶�� ���������� 1.1 ������ �����Ѵ�.</dd>
<dt><a name="https">HTTPS</a></dt>
<dd>����ȭ�̵����� ǥ�� ��ȣ��� ���, HyperText Transport
Protocol (Secure). ��� �شܿ� <a name="ssl">SSL</a>��
����� HTTP�̴�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="method">��� (Method)</a></dt> <dd>Ŭ���̾�Ʈ��
������ <a href="#http">HTTP</a> ��û����
�ڿ��� �����ϵ��� ������ �ൿ. HTTP ��忡�� <code>GET</code>,
<code>POST</code>, <code>PUT</code> ���� �ִ�.</dd>
<dt><a name="messagedigest">���� ��� (Message Digest)</a></dt>
<dd>���� ������ ������ ������� �ʾ����� �����ϱ�����
������ �ؽ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="mime-type">MIME-type</a></dt> <dd>������ ������
������ �����ϴ� ���. Multipurpose Internet Mail Extensions
������ �����Ա���� �̷��� �̸��� ������. �������� ���̿�
�� major type�� minor type���� �̷������. ���� ���,
<code>text/html</code>, <code>image/gif</code>,
<code>application/octet-stream</code> ���̴�. MIME-type�� HTTP��
<code>Content-Type</code> <a href="#header">��� (header)</a>��
�����Ѵ�.<br /> ����: <a href="mod/mod_mime.html">mod_mime</a></dd>
<dt><a name="module">��� (Module)</a></dt> <dd>����� ������
�κ�. ���� ����ġ ����� ����� ���Կ��θ� ������ �� �ִ� ��
����ִ�. ����ġ httpd �������ϰ� ���� �������� ����� <em>����
���</em>�̶�� �ϸ�, ���� �и��Ǿ� ����� ���������� �о����
�� �ִ� ����� <em>���� ���</em> Ȥ�� <a href="#dso">DSO</a>���
�Ѵ�. �⺻������ �����ϴ� ����� <em>base ���</em>�̶�� �Ѵ�.
����ġ ������ <a href="#tarball">Ÿ�� (tarball)</a>�� ����
���������� ������ ����ġ���� ���� ������ �ִ�. �̵���
<em>�����ڰ� ����(third-party) ���</em>�̶�� �Ѵ�.<br />
����: <a href="mod/">��� ���</a></dd>
<dt><a name="modulemagicnumber">��� ������ (Module Magic Number)</a>
(<a name="mmn">MMN</a>)</dt>
<dd>��� �������� ����ġ �ҽ��ڵ尡 ������ �����, �����
����ȣȯ���� ������ �ִ�. ��� �������� ����ȣȯ���� �� �̻� ������
�� ������ ����ġ ���� ������ �Լ� ȣ��, �ٸ� API �Ϻΰ� �����
��쿡 �ٲ��. MMN�� ���ϸ� �����ڰ� ���� ����� ��� �ּ��� �ٽ�
�����ϵǾ� �Ѵ�. �� ����ġ ������ �µ��� ���� �����ؾ��� ��쵵
�ִ�.
</dd>
<dt><a name="openssl">OpenSSL</a></dt>
<dd>SSL/TLS�� ���� ���¼ҽ� ����<br />
���� <a href="http://www.openssl.org/">http://www.openssl.org/</a></dd>
<dt><a name="passphrase">Pass Phrase</a></dt> <dd>����Ű ������
��ȣ�ϴ� ����. ������������ ����ڰ� �� ����Ű ������
����Ͽ� ��ȣȭ���� ���ϵ��� �Ѵ�. ���� <a name="cipher">��ȣ��
(Ciphers)</a>�� ����ϴ� ��н��� ��ȣ/�ص� Ű�̴�.<br /> ����: <a
href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="plaintext">�� (Plaintext)</a></dt>
<dd>��ȣȭ���� ���� ��.</dd>
<dt><a name="privatekey">����Ű (Private Key)</a></dt> <dd>����
�ڷḦ �ص��ϰ� ������ �ڷḦ �����ϱ����� <a
name="publickeycryptography">����Ű ��ȣȭ (Public Key
Cryptography)</a> �ý����� ��ȣŰ.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="proxy">���Ͻ� (Proxy)</a></dt> <dd>Ŭ���̾�Ʈ��
<em>���� ����</em> ���̿� �ִ� �߰� ����. Ŭ���̾�Ʈ���� ��û��
�� ���� ������ ������, ���� �������Լ� ���� ������ �ٽ�
Ŭ���̾�Ʈ���� ������. ���� Ŭ���̾�Ʈ�� ���� ������ ��û�ϸ�
���Ͻô� �Ź� ������ ��û�����ʰ� ij���� ����� ������ ����Ͽ�
����ð��� ���� �� �ִ�.<br />
����: <a href="mod/mod_proxy.html">mod_proxy</a></dd>
<dt><a name="publickey">����Ű (Public Key)</a></dt> <dd><a
name="publickeycryptography">����Ű ��ȣȭ (Public Key
Cryptography)</a> �ý��ۿ��� Ű�� �����ڿ��� ������ ������ ��ȣȭ�ϰų�
�����ڰ� ���� ������ Ǯ������ ������ Ű.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="publickeycryptography">����Ű ��ȣȭ (Public Key
Cryptography)</a></dt>
<dd>��ȣ�� �ص��� ���� �ٸ� Ű�� ����ϴ� ���Ī(asymmetric)
��ȣȭ �ý����� ���� �� Ȱ��. ��ȣ�� �ص��� ����ϴ� �ΰ��� Ű��
Ű��(key pair)�� �̷��. ���Ī ��ȣȭ����� �θ���.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="regularexpresion">����ǥ���� (Regular Expression)</a> <a
name="regex">(Regex)</a></dt> <dd>���� ������ ����ϴ� ���.
���� ���, "���� A�� �����ϴ� ��� �ܾ�", "���� 10���ε� ��ȭ��ȣ",
������ "��ǥ�� �ΰ��ְ� �빮�� Q�� ���� ����" ���� ǥ���� �� �ִ�.
����ǥ������ ����ϸ� �ſ� �����ϰ� �����̳� �ڿ��� � ������ ������
�� �ִ�. ���� ���, "images"�� ���丮 �Ʒ��� �ִ� ��� .gif��
.jpg ������ "<code>/images/.*(jpg|gif)$</code>"�� ��Ī�� ��
�ִ�. ����ġ�� <a href="http://www.pcre.org/">PCRE</a> ���̺귯����
����Ͽ� Perlȣȯ ����ǥ������ �����Ѵ�.</dd>
<dt><a name="reverseproxy">�����Ͻ� (Reverse Proxy)</a></dt>
<dd>Ŭ���̾�Ʈ���� <em>���� ����</em>ó�� ���̴� <a
href="#proxy">���Ͻ� (proxy)</a> ����. ���Ȼ� ���� Ȥ�� ���ϸ�
�л��ϱ����� Ŭ���̾�Ʈ���� ���� ������ ���涧 �����ϴ�.</dd>
<dt><a name="securesocketslayer">Secure Sockets Layer</a> <a
name="ssl">(SSL)</a></dt> <dd>Netscape Communications�簡 TCP/IP
��Ʈ���� �Ϲ����� ��� ������ ��ȣȭ�� ���� ���� ��������.
���� �Ϲ����� �뵵�� <em>HTTPS</em> (HyperText Transfer Protocol
(HTTP) over SSL)�̴�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="serversideincludes">Server Side Includes</a> <a
name="ssi">(SSI)</a></dt> <dd>HTML ���� �ȿ� ó�����þ �����ϴ�
���.<br /> ����: <a
href="howto/ssi.html">Server Side Includes �Ұ�</a></dd>
<dt><a name="session">���� (Session)</a></dt>
<dd>�Ϲ������� ����� ��Ȳ(context) ����.</dd>
<dt><a name="ssleay">SSLeay</a></dt>
<dd>Eric A. Young�� ������ ���� SSL/TLS ���� ���̺귯��</dd>
<dt><a name="symmetriccryptophraphy">��Ī�� ��ȣ�� (Symmetric
Cryptography)</a></dt>
<dd>��ȣ�� �ص� �۾��� ���� ��ȣŰ�� ����ϴ� <em>��ȣ��
(Ciphers)</em>�� ���� �� Ȱ��.<br />
����: <a href="ssl/">SSL/TLS Encryption</a></dd>
<dt><a name="tarball">Ÿ�� (Tarball)</a></dt>
<dd><code>tar</code> ������ ����Ͽ� ���ϵ��� ���� ����. ����ġ��
tar ������ �����ϰų� pkzip���� �����Ͽ� �����ȴ�.</dd>
<dt><a name="transportlayersecurity">Transport Layer Security</a> <a
name="tls">(TLS)</a></dt> <dd>���ͳݱ�� ���� ����ǥ��ȭ�ⱸ(Internet
Engineering Task Force, IETF)�� TCP/IP ��Ʈ���� �Ϲ����� ���
������ ��ȣȭ�� ���� ���� SSL�� �ļ� ��������. TLS ���� 1��
SSL ���� 3�� ���� �����ϴ�.<br />
����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
<dt><a name="uniformresourcelocator">Uniform Resource Locator</a>
<a name="url">(URL)</a></dt> <dd>���ͳݿ� �ִ� �ڿ��� �̸�/�ּ�.
�������δ� <a href="#uniformresourceidentifier">Uniform Resource
Identifier</a>��� �ϴ� ���� �ϻ����� ����� ����. ���� URL��
<code>http</code>�� <code>https</code>���� ��Ŵ(scheme), ȣ��Ʈ��,
��η� �����ȴ�. �� �������� URL��
<code>http://httpd.apache.org/docs-2.1/glossary.html</code>�̴�.</dd>
<dt><a name="uniformresourceidentifier">Uniform Resource Identifier</a>
<a name="URI">(URI)</a></dt> <dd>������ �ڿ��̳� ���� �ڿ���
��Ī�ϱ����� ������ ���ڿ�. ���������� <a
href="http://www.ietf.org/rfc/rfc2396.txt">RFC 2396</a>���� �����Ѵ�.
������̵������� ����ϴ� URI�� ���� <a href="#url">URL</a>�̶��
���.</dd>
<dt><a name="virtualhosting">����ȣ��Ʈ (Virtual Hosting)</a></dt>
<dd>����ġ �ϳ��� ���� ������Ʈ�� �����ϱ�. <em>IP ����ȣ��Ʈ</em>��
������Ʈ���� IP �ּҰ� �ٸ���. <em>�̸����(name-based)
����ȣ��Ʈ</em>�� ȣ��Ʈ������ ����ϹǷ� �� IP �ּҿ��� ����
����Ʈ�� ������ �� �ִ�.<br />
����: <a href="vhosts/">����ġ ����ȣ��Ʈ ����</a></dd>
<dt><a name="x.509">X.509</a></dt> <dd>����������ſ���(International
Telecommunication Union, ITU-T)�� �����ϴ� ������ ���. SSL/TLS
�������� ����Ѵ�.<br /> ����: <a href="ssl/">SSL/TLS ��ȣȭ</a></dd>
</dl>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/handler.xml.ko
Index: handler.xml.ko
===================================================================
<?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.5 -->
<manualpage metafile="handler.xml.meta">
<title>����ġ���� �ڵ鷯 ���</title>
<summary>
<p>�� ������ ����ġ���� �ڵ鷯�� ����ϴ� ����� �����Ѵ�.</p>
</summary>
<section id="definition">
<title>�ڵ鷯�� �����ΰ�</title>
<related>
<modulelist>
<module>mod_actions</module>
<module>mod_asis</module>
<module>mod_cgi</module>
<module>mod_imap</module>
<module>mod_info</module>
<module>mod_mime</module>
<module>mod_negotiation</module>
<module>mod_status</module>
</modulelist>
<directivelist>
<directive module="mod_actions">Action</directive>
<directive module="mod_mime">AddHandler</directive>
<directive module="mod_mime">RemoveHandler</directive>
<directive module="core">SetHandler</directive>
</directivelist>
</related>
<p>������ ��û�Ҷ� ����ġ�� ���������� ������ �۾���
"�ڵ鷯(handler)"��� �Ѵ�. �Ϲ������� ������ ���� ������
���� �Ϲ����� �ڵ鷯�� ������ �ִ�. ��� ������ ���� ������
������ ����������, � ���� ������ ���� "ó���ȴ�(handled)".</p>
<p>Apache 1.1���� �ڵ鷯�� ���������� ����� �� �ְ� �Ǿ���.
���� ������ ������� �ڵ鷯�� ������ Ȯ���ڳ� ��ġ�� ����
������ �� �ִ�. �̴� �� �Ǹ��� ����̰� ������ ������ �ڵ鷯
�� ��ο� ������ �� �ֱ���� ����. (<a
href="mod/mod_mime.html#multipleext">���� Ȯ���ڸ� ���� ����</a>��
����)</p>
<p>�ڵ鷯�� ������ ���� �����Ͽ�, <directive
module="mod_actions">Action</directive> ���þ�� �߰���
�� �ִ�. ǥ�� �������� �ִ� �⺻ �ڵ鷯�� ������ ����:</p>
<ul>
<li><strong>default-handler</strong>: ������ ������
ó���ϱ����� �⺻������ ����ϴ� �ڵ鷯
<code>default_handler()</code>�� ����Ͽ� ������ ������.
(core)</li>
<li><strong>send-as-is</strong>: HTTP ����� �ִ� ������
�״�� ������. (<module>mod_asis</module>)</li>
<li><strong>cgi-script</strong>: ������ CGI�� ó���Ѵ�.
(<module>mod_cgi</module>)</li>
<li><strong>imap-file</strong>: imagemap ��Ģ ���Ϸ�
ó���Ѵ�. (<module>mod_imap</module>)</li>
<li><strong>server-info</strong>: ������ ���� ������
�˷��ش�. (<module>mod_info</module>)</li>
<li><strong>server-status</strong>: ������ ���¸� �����Ѵ�.
(<module>mod_status</module>)</li>
<li><strong>type-map</strong>: �������� �����
type map���� ó���Ѵ�.
(<module>mod_negotiation</module>)</li>
</ul>
</section>
<section id="examples">
<title>����</title>
<section id="example1">
<title>CGI ��ũ��Ʈ�� ����Ͽ� ������ ���� �����ϱ�</title>
<p>���� ���þ�� Ȯ���ڰ� <code>html</code>�� ������
��û�� ��� <code>footer.pl</code> CGI ��ũ��Ʈ�� ����.</p>
<example>
Action add-footer /cgi-bin/footer.pl<br/>
AddHandler add-footer .html
</example>
<p>CGI ��ũ��Ʈ��
(<code>PATH_TRANSLATED</code> ȯ�溯���� ��Ī�ϴ�) ����
��û�� ������ ������ ������ �� ������.</p>
</section>
<section id="example2">
<title>HTTP ����� �����ϴ� ����</title>
<p>���� ���þ�� HTTP ����� �����ϴ� ���Ͽ�
<code>send-as-is</code> �ڵ鷯�� �����Ѵ�.
<code>/web/htdocs/asis/</code> ���丮 �ȿ� �ִ� ���
������ Ȯ���ڿ� ������� <code>send-as-is</code> �ڵ鷯��
ó���Ѵ�.</p>
<example>
<Directory /web/htdocs/asis><br/>
SetHandler send-as-is<br/>
</Directory>
</example>
</section>
</section>
<section id="programmer">
<title>���α��Ӹ� ���� ����</title>
<p>�ڵ鷯 ����� �����ϱ����� ���������
<a href="developer/API.html">Apache API</a>�� �߰��Ǿ���.
Ư�� <code>request_rec</code> ����ü�� ���ο� �ʵ尡
�߰��Ǿ���:</p>
<example>
char *handler
</example>
<p>����� �ڵ鷯�� ����Ϸ���, ��û��
<code>invoke_handler</code> �ܰ� ������
<code>r->handler</code>�� �ڵ鷯 �̸��� �������ֱ⸸
�ϸ� �ȴ�. �ڵ鷯�� content type ��� �ڵ鷯 �̸��� �����
���� �����ϰ��� ���� ���� �����Ǿ���. �� ��ų �ʿ�� ������
�ڵ鷯 �̸��� �������� ������� �ʰ�, �ܾ�� ���̿� ����
��ȣ�� ����ϴ� ���� �Ϲ����̴�. ���� �ڵ鷯 �̸���
media type�� ��ġ�� �ʴ´�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/index.xml.ko
Index: index.xml.ko
===================================================================
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE indexpage SYSTEM "./style/sitemap.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
<!-- English revision: 1.4 -->
<indexpage metafile="index.xml.meta">
<parentdocument href="http://httpd.apache.org/docs-project/" />
<title>Apache HTTP Server Version 2.1 ����</title>
<category id="release"><title>��ǥ��</title>
<page href="new_features_2_0.html">���� 2.0�� ���ο� ���</page>
<page href="upgrading.html">1.3���� 2.0 �������� �����̵�</page>
<page href="license.html">����ġ ���̼���</page>
</category>
<category id="manual"><title>���� ������</title>
<page href="install.html">�����ϰ� ��ġ</page>
<page href="invoking.html">����</page>
<page href="stopping.html">�ߴܰ� �����</page>
<page href="mod/directives.html">���� ���þ�</page>
<page href="mod/quickreference.html">���þ� ��������</page>
<page href="mod/">���</page>
<page href="mpm.html">������� (MPM)</page>
<page href="filter.html">����</page>
<page href="handler.html">�ڵ鷯</page>
<page href="programs/">������ ���� ���α�</page>
<page href="glossary.html">���</page>
</category>
<category id="usersguide"><title>����� ��ħ��</title>
<page href="bind.html">�ּҿ� ��Ʈ ����</page>
<page href="configuring.html">��������</page>
<page href="sections.html">���� ����</page>
<page href="content-negotiation.html">�������� (content negotiation)</page>
<page href="dso.html">����������ü (DSO)</page>
<page href="env.html">ȯ�溯��</page>
<page href="logs.html">�����</page>
<page href="urlmapping.html">URL�� ���Ͻý��ۿ� ����</page>
<page href="misc/perf-tuning.html">�������</page>
<page href="misc/security_tips.html">���� ��</page>
<page href="server-wide.html">���� ���� ����</page>
<page href="ssl/">SSL/TLS ��ȣȭ</page>
<page href="suexec.html">CGI�� Suexec ����</page>
<page href="misc/rewriteguide.html">URL ���ۼ�(rewriting) ��ħ��</page>
<page href="vhosts/">����ȣ��Ʈ</page>
</category>
<category id="howto"><title>How-To / ���丮��</title>
<page href="howto/auth.html">����, ���Ѻο�,
��������</page>
<page href="howto/cgi.html">CGI: ���� ���� ����</page>
<page href="howto/htaccess.html">.htaccess ����</page>
<page href="howto/ssi.html">Server Side Includes (SSI)</page>
<page href="howto/public_html.html">����ں� �����丮
(public_html)</page>
</category>
<category id="platform"><title>�÷����� ����</title>
<page href="platform/windows.html">Microsoft Windows</page>
<page href="platform/netware.html">Novell NetWare</page>
<page href="platform/ebcdic.html">EBCDIC ����</page>
</category>
<category id="other"><title>�ٸ� ����</title>
<page href="faq/">���� ����� ���� (FAQ)</page>
<page href="sitemap.html">����Ʈ��</page>
<page href="developer/">�����ڸ� ���� ����</page>
<page href="misc/">��Ÿ</page>
</category>
</indexpage>
1.1 httpd-2.0/docs/manual/install.xml.ko
<<Binary file>>
1.1 httpd-2.0/docs/manual/invoking.xml.ko
Index: invoking.xml.ko
===================================================================
<?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.7 -->
<manualpage metafile="invoking.xml.meta">
<title>����ġ ����</title>
<summary>
<p>���� ����ġ�� Windows NT, 2000, XP������ ����,
Windows 95�� ME������ �ܼ� ���α����� ����ȴ�. �ڼ���
������ <a href="platform/windows.html#winsvc">����
����ġ�� �����ϱ�</a>�� <a
href="platform/windows.html#wincons">�ܼ� ���α�����
����ġ�� �����ϱ�</a>.</p>
<p>������� <a href="programs/httpd.html">httpd</a>
���α��� ����忡�� ��� ��û�� ó���ϴ� ��������
����ȴ�. �� ������ <code>httpd</code>�� �����ϴ� �����
�����Ѵ�.</p>
</summary>
<seealso><a href="stopping.html">����ġ �ߴܰ� �����</a></seealso>
<seealso><a href="programs/httpd.html">httpd</a></seealso>
<seealso><a href="programs/apachectl.html">apachectl</a></seealso>
<section id="startup"><title>��� ����ġ�� �����ϳ�</title>
<p>�������Ͽ��� <directive
module="mpm_common">Listen</directive>�� �⺻���� 80(Ȥ��
1024������ �ٸ� ��Ʈ)�̶�� �� Ư�� ��Ʈ�� �����ϱ�����
root ������ �ʿ��ϴ�. ������ �����Ͽ� �α������� ���� ����
��� �������� �۾��� ��ģ��, Ŭ���̾�Ʈ�� ��û�� ��ٸ���
�����ϴ� <em>�ڽ�(child)</em> ���μ����� ������ ����.
�� <code>httpd</code> ���μ����� ��� root ����ڷ� ���������,
�ڽ� ���μ������� �� ������ ���� ����ڷ� ����ȴ�. �̴�
������ <a href="mpm.html">����ó�� ���</a>�� �����Ѵ�.</p>
<p><a href="programs/apachectl.html">apachectl</a>
��ũ��Ʈ�� ����Ͽ� <code>httpd</code> ���������� �����ϱ�
�����Ѵ�. �� ��ũ��Ʈ�� <code>httpd</code>�� ���
�ü������ ���������� �����ϱ����� �ʿ��� ȯ�溯������
�����ϰ� <code>httpd</code> ���������� �����Ѵ�.
<code>apachectl</code>�� ������ �ƱԸ�Ʈ�� �״�� �ѱ�����,
<code>httpd</code>�� � �ɼ��̶� <code>apachectl</code>��
��밡���ϴ�. ��, <code>apachectl</code> ��ũ��Ʈ�� �պκп�
������ <code>HTTPD</code> ������ <code>httpd</code> ����������
�ִ� ��ġ�� <em>��</em> ����� ������ �ƱԸ�Ʈ�� ����
������ �� �ִ�.</p>
<p><code>httpd</code>�� �����ϸ� ���� <a
href="configuring.html">��������</a> <code>httpd.conf</code>��
ã�Ƽ� �д´�. �� ������ ��ġ�� ������ �߿� �����ϳ�, �����
������ ���� <code>-f</code> ������ �ɼ����� ������ ���� �ִ�.</p>
<example>/usr/local/apache2/bin/apachectl -f
/usr/local/apache/conf/httpd.conf</example>
<p>�����ϴ� �������� ������ ���ٸ�, ������ �̳ο���
�������� ���� ������Ʈ�� ���� ��� �����Եȴ�. �̴� ������
������� �ǹ��Ѵ�. �������� ������ �����Ͽ� <directive
module="core">DocumentRoot</directive> ���丮�� �ִ�
��Ʈ �������� �� �������� ��ũ�� (����ī��) �������� ��
�� �ִ�.</p>
</section>
<section id="errors"><title>������ ����</title>
<p>����ġ�� �����ϴ� �����߿� �ɰ��� ������ ���ϸ�,
�����ϱ� ���� ������ �˸��� ������ �ܼ��̳� <directive
module="core">ErrorLog</directive>�� ����. ���� ���� ������ ��
�ϳ��� "<code>Unable to bind to Port ...</code>"�̴�.
�� ������ ���� ���� �� ��쿡 ���Ѵ�:</p>
<ul>
<li>root ����ڷ� �α������� �ʰ� Ư�� ��Ʈ�� ������
�����Ϸ� �� ���. Ȥ��</li>
<li>�̹� ����ġ�� �ٸ� �������� ������� ��Ʈ��
������ �����Ϸ� �� ���.</li>
</ul>
<p>��Ÿ �����ذ� ����� ����ġ <a href="faq/">FAQ</a>��
�����϶�.</p>
</section>
<section id="boot"><title>�����Ҷ� �����ϱ�</title>
<p>�ý����� ������� �Ŀ��� ������ ��� ����DZ� �ٶ��ٸ�,
�ý��� ��������(���� <code>rc.local</code>�̳� <code>rc.N</code>
���丮�� �ִ� ����)�� <code>apachectl</code>�� �߰��ؾ�
�Ѵ�. �� ��� ����ġ�� root�� ���۵ȴ�. ������ ������ �����̳�
���� ����(���ϱ���)�� �ùٷ� �����Ǿ����� Ȯ���϶�.</p>
<p><code>apachectl</code>�� ǥ�� SysV init ��ũ��Ʈ�� ����ϰ�
�����ϵ��� ���������. ��ũ��Ʈ�� �ƱԸ�Ʈ�� <code>start</code>,
<code>restart</code>, <code>stop</code>�� ������ ���� ������
�ñ׳��� <code>httpd</code>�� ������. ���� ������
<code>apachectl</code>�� ������ init ���丮�� ��ũ�� �ɸ�ȴ�.
���� ����ϴ� �ý����� ��Ȯ�� �䱸������ Ȯ���϶�.</p>
</section>
<section id="info"><title>�߰� ����</title>
<p><a href="programs/httpd.html">httpd</a>�� <a
href="programs/apachectl.html">apachectl</a>, ��Ÿ ������
���Ե� ���� ���α����� ������ �ɼ���
<a href="programs/">������ ���� ���α�</a> ��������
�����϶�. �� ����ġ ���������� ��� <a href="mod/">���</a>��
���� �����ϴ� <a href="mod/directives.html">���þ�</a>��
���� ������ �ִ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/logs.xml.ko
<<Binary file>>
1.1 httpd-2.0/docs/manual/mpm.xml.ko
Index: mpm.xml.ko
===================================================================
<?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.4 -->
<manualpage metafile="mpm.xml.meta">
<title>����ó�� ��� (MPM)</title>
<summary>
<p>�� ������ ����ó�� ��� (Multi-Processing Module)�� �����̸�,
����ġ �������� �̸� ��� ����ϴ��� �����Ѵ�.</p>
</summary>
<section id="introduction"><title>�Ұ�</title>
<p>����ġ �������� �پ��� ȯ���� �پ��� �÷������� ������
�� �ֵ��� �����ϰ� �����ϰ� ����Ǿ���. �ٸ� �÷����� �ٸ�
ȯ���� ���� �ٸ� ����� �䱸�ϸ�, � ����� ���� ȿ��������
�����ϴ� ����� �ٸ� �� �ִ�. ����ġ�� ���ȭ�� ����� �̷�
�پ��� ȯ�濡 �� �����ؿԴ�. ���� �������ʹ� �����Ͻ�
Ȥ�� ����� � ����� �о������ �����Ͽ� ������ ������
����� ������ �� �ִ�.</p>
<p>Apache 2.0�� �̷� ���ȭ�� ���踦 �������� ���� �⺻����
�κп����� Ȯ���ߴ�. ������ �ý����� ��Ʈ�� ��Ʈ�� �����ϰ�,
��û�� �Ƶ��̸�, �Ƶ��� ��û�� ó���ϱ����� �ڽĵ鿡��
�й��ϴ� ����ó�� ��� (Multi-Processing Modules, MPMs)��
������ �� �ִ�.</p>
<p>������ �� ������ ���ȭ�ϸ� �ΰ��� �߿��� ������
�ִ�:</p>
<ul>
<li><module>mpm_winnt</module>�� Apache 1.3���� �����
POSIX�� ��� ��ü ��Ʈ�� ����� ����� �� �ִ� ��,
����ġ�� ���� �پ��� �ü���� �� ����ϰ� ȿ��������
������ �� �ִ�. �� ������ Ưȭ�� MPM�� ������ �ٸ�
�ü������ ����ȴ�.</li>
<li>������ Ư�� ����Ʈ�� �䱸���ǿ� �� Ưȭ�� �� �ִ�.
���� ��� ���� Ȯ�尡�ɼ�(scalability)�� �ʿ��� ����Ʈ��
<module>worker</module>�� ���� ������ MPM�� ����ϰ�,
�������� ������ ����Ʈ������� ȣȯ���� �ʿ��� ����Ʈ��
<module>preforking MPM</module>�� ����� �� �ִ�.
�߰��� �ٸ� ����ھ��̵�� ���� ȣ��Ʈ�� �����ϴ�
��(<module>perchild</module>)�� ���� Ư���� ��ɵ�
�����ȴ�.</li>
</ul>
<p>����ڰ� ��� MPM�� �ٸ� ����ġ ���� ���� �����
���δ�. �ֵ� ���̴� ������ �ѹ��� ���� �� MPM���� ����ؾ�
�Ѵٴ� ���̴�. ��밡���� MPM ����� <a href="mod/">���
��� ������</a>�� �ִ�.</p>
</section>
<section id="choosing"><title>MPM �����ϱ�</title>
<p>MPMs�� �����߿� �����Ͽ� ������ �����ϵǾ� �Ѵ�.
�����带 ����ϴ� ���� �����Ϸ��� �˸� ���� �Լ���
����ȭ�� �� �ִ�. ���н����� ��� MPM�� �����带 ����
�������� �ƴϹǷ�, MPM�� �����߿� ���õǾ� ����ġ��
�����ϵɶ� ����ġ�� �� ���� �ӵ��� ����.</p>
<p>���ϴ� MPM�� �����Ϸ��� ./configure ��ũ��Ʈ��
with-mpm= <em>NAME</em> �ƱԸ�Ʈ�� ����϶�. <em>NAME</em>��
���ϴ� MPM �̸��̴�.</p>
<p>������ ���������� <code>./httpd -l</code> ���ɾ�� ������
MPM�� �� �� �ִ�. �� ���ɾ�� MPM�� �����Ͽ� ������ �����ϵ�
��� ����� �˷��ش�.</p>
</section>
<section id="defaults"><title>MPM �⺻��</title>
<p>���� ǥ�� ���� �ü���� �⺻ MPM�� �����ش�. �����Ͻ�
�ٸ��� �������� ������ �� MPM�� ���õȴ�.</p>
<table>
<tr><td>BeOS</td><td><module>beos</module></td></tr>
<tr><td>Netware</td><td><module>mpm_netware</module></td></tr>
<tr><td>OS/2</td><td><module>mpmt_os2</module></td></tr>
<tr><td>���н�</td><td><module>prefork</module></td></tr>
<tr><td>��������</td><td><module>mpm_winnt</module></td></tr>
</table>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/new_features_2_0.xml.ko
Index: new_features_2_0.xml.ko
===================================================================
<?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.7 -->
<manualpage metafile="new_features_2_0.xml.meta">
<title>Apache 2.0�� ���ο� ��� ����</title>
<summary>
<p>�� ������ ����ġ ������ 1.3 ������ 2.0�������� �ֵ� ��������
�����Ѵ�.</p>
</summary>
<seealso><a href="upgrading.html">1.3���� 2.0���� �����̵�</a></seealso>
<section id="core">
<title>�ٽ� �κп��� ������ ��</title>
<dl>
<dt>���н� ������</dt>
<dd>POSIX �����带 �����ϴ� ���н� �ý��ۿ��� ����ġ��
���� ���μ����� ���� ������� ȥ���ؼ� ������ �� �ִ�.
���δ� �ƴ����� ���� ��� Ȯ�尡�ɼ�(scalability)�� ���δ�.</dd>
<dt>���ο� ������ �ý���</dt>
<dd>������ �ý����� <code>autoconf</code>�� <code>libtool</code>��
����ϵ��� ���ۼ��Ǿ���. ���� ����ġ ���� �ý����� �ٸ�
������� ���� ���������.</dd>
<dt>���� �������� ����</dt>
<dd>���� ����ġ�� ���� ���������� ������ �� �ִ� ������
�����. <module>mod_echo</module>�� �� ���� �ۼ��Ǿ���.</dd>
<dt>�����н� �÷����� ���� �� ���� ����</dt>
<dd>Apache 2.0�� BeOS, OS/2, ��������� ���� �����н�
�÷������� �� ������ ����ȭ�Ǿ���. ���� ����ġ�� �̵�
�÷������� ���װ� ���� ������ ���ȴ� POSIX ȣȯ�� ���
��ü API�� ������ �÷��� Ư���� <a href="mpm.html">����ó�� ���</a>
(MPM)�� Apache Portable Runtime (APR)�� ����Ͽ� �����ȴ�.</dd>
<dt>���ο� ����ġ API</dt>
<dd>��� API�� 2.0���� ����� ���ߴ�. 1.3�� ���� ���
������ �켱���� ������ �������. 2.0�� �̸� ��κ� �ڵ�����
ó���ϸ�, ��� ������ ���� �� ������ ��(hook) ������ �����Ѵ�.
��, ����ġ ���� �ٽ� �κ��� �������� �ʰ� ���ο� ��� �����
�����ϴ� �Լ��� �߰��Ǿ���.</dd>
<dt>IPv6 ����</dt>
<dd>���� Apache Portable Runtine ���̺귯���� IPv6�� �����ϴ�
�ý��ۿ��� ����ġ�� �⺻������ IPv6 ������ ��ٸ���. ��,
<directive module="mpm_common">Listen</directive>,
<directive module="core">NameVirtualHost</directive>,
<directive module="core">VirtualHost</directive> ���þ
IPv6 ���� �ּҸ� �����Ѵ�. (��,
"<code>Listen [fe80::1]:8080</code>").</dd>
<dt>����</dt>
<dd>���� ����ġ ����� ������ �������� �帧�� ����
���ͷ� ����� �� �ִ�. ���� ��� <module>mod_include</module>��
<code>INCLUDES</code> ���� ����Ͽ� CGI ��ũ��Ʈ ��¿���
Server Side Include ���þ ó���� �� �ִ�.
<module>mod_ext_filter</module> ����� CGI �����
�ڵ鷯�� ����ϴ� �Ͱ� ���� �ܺ� ���α��� ���ͷ�
����� �� �ְ� �Ѵ�.</dd>
<dt>�ٱ��� ���� ����</dt>
<dd>�������� ������ ���� ���乮�� ���� SSI ������
����Ͽ� �ٱ���� �����ȴ�. �����ڴ� ���ϵ� �ܰ��� ����
�� ������ ������ �� �ִ�.</dd>
<dt>�������� ����</dt>
<dd>ȥ���� �ִ� ���� ���þ���� ����������. ���� ȥ����
�ִ� <code>Port</code>�� <code>BindAddress</code> ���þ��
�������� IP �ּ� ���ῡ
<directive module="mpm_common">Listen</directive> ���þ��
����Ѵ�. <directive module="core">ServerName</directive>
���þ�� �����̷��ǰ� ����ȣ��Ʈ �νĿ��� ���� ��������
��Ʈ�� �����Ѵ�.</dd>
<dt>Windows NT �����ڵ� ��ü ����</dt>
<dd>Windows NT���� Apache 2.0�� ���� ��� ���ϸ� ���ڵ���
utf-8�� ����Ѵ�. ���ϸ��� ���� �����ڵ� ���Ͻý������� ����
�����Ǿ�, Windows 2000�� Windows XP�� ������ ��� Windows NT���
�ý��ۿ� �ٱ��� ������ �����Ѵ�. <em>�� ����� Windows 95,
98, ME���� ���������ʰ�, ���Ͻý��� ���ٿ� ���� ���� �ý�����
���� �ڵ��������� ����Ѵ�.</em></dd>
<dt>����ǥ���� ���̺귯�� Updated</dt>
<dd>Apache 2.0�� <a href="http://www.pcre.org/">Perlȣȯ
����ǥ���� ���̺귯�� (Perl Compatible Regular Expression
Library)</a> (PCRE)�� �����Ѵ�. ���� ��� ����ǥ���Ŀ�
�� ������ Perl 5 ������ ����� �� �ִ�.</dd>
</dl>
</section>
<section id="module">
<title>���� ������ ��</title>
<dl>
<dt><module>mod_ssl</module></dt>
<dd>Apache 2.0���� ���� �߰��Ǿ���. �� ����� OpenSSL��
�����ϴ� SSL/TLS ��ȣȭ ���������� �������̽���.</dd>
<dt><module>mod_dav</module></dt>
<dd>Apache 2.0���� ���� �߰��Ǿ���. �� ����� ����������
�ø��� �����ϱ����� HTTP Distributed Authoring and Versioning
(DAV) ǥ���� �����Ѵ�.</dd>
<dt><module>mod_deflate</module></dt>
<dd>Apache 2.0���� ���� �߰��Ǿ���. ��Ʈ�� ��뷮��
���̱����� ���������� �������� �����ؼ� ������� ��û��
�� �ִ�.</dd>
<dt><module>mod_auth_ldap</module></dt>
<dd>Apache 2.0.41���� ���� �߰��Ǿ���. �� ����� HTTP
Basic Authentication�� ����ϴ� ������ LDAP �����ͺ��̽���
�����Ѵ�. ���õ� <module>mod_ldap</module> �����
����Ǯ(connection pool)�� �����ϰ�, ����� ij���Ѵ�.</dd>
<dt><module>mod_auth_digest</module></dt>
<dd>������ ����Ͽ� ���μ����� ���� ij���� �����Ѵ�.</dd>
<dt><module>mod_charset_lite</module></dt>
<dd>Apache 2.0���� ���� �߰��Ǿ���. �� �������� �����
�������� ��ȯ�� �������� ���ۼ� ����� �����Ѵ�.</dd>
<dt><module>mod_file_cache</module></dt>
<dd>Apache 2.0���� ���� �߰��Ǿ���. �� ����� Apache 1.3��
<code>mod_mmap_static</code> ��ɿ� �� ���� ij�� �����
�߰��ߴ�.</dd>
<dt><module>mod_headers</module></dt>
<dd>�� ����� Apache 2.0���� �� ����������. ����
<module>mod_proxy</module>�� ����ϴ� ��û ����� ������
�� �ְ�, ��쿡 ���� ���� ����� ������ ���� �ִ�.</dd>
<dt><module>mod_proxy</module></dt>
<dd>�� ���Ͻ� ����� ���ο� ���� ������ �̿��ϰ� �� ��������
HTTP/1.1 ���Ͻø� �����ϱ����� ������ ���ۼ��Ǿ���. �߰���
���ο� <directive module="mod_proxy" type="section">Proxy</directive>
���� ������ ���Ͻ� ������ �� ���� (���� ���������� ��
������) �����. ���� <code><Directory "proxy:..."></code>
������ ���� �������� �ʴ´�. ����� <code>proxy_connect</code>,
<code>proxy_ftp</code>, <code>proxy_http</code>�� ����
�����ϴ� �������� ���� ��������.</dd>
<dt><module>mod_negotiation</module></dt>
<dd>���ο� <directive
module="mod_negotiation">ForceLanguagePriority</directive>
���þ�� Ŭ���̾�Ʈ�� NOT ACCEPTABLE�̳� MULTIPLE CHOICES
���� ��� ��� ��� �� ������ ������ �����Ѵ�. �߰���
���� �˰������ MultiViews �˰������� �� �ϰ��� �����
������ �����Ǿ���, ���� ������ ������ �� �ִ� ���ο� ������
type map�� �߰��Ǿ���.</dd>
<dt><module>mod_autoindex</module></dt>
<dd>�ڵ����� ������ ���丮 ����� ���� �� ����� ������
���� HTML ǥ�� ����� �� �ְ� �Ǿ���, ���� ������ �����Ͽ�
���ļ����� �ڼ��� ������ �� ������, ���丮 ����� ���ϵ�ī���
�ɷ��� �� �ִ�.</dd>
<dt><module>mod_include</module></dt>
<dd>���ο� ���þ ����Ͽ� SSI ����� �⺻ ���� �±�
��ħ �±� ������ �� �ְ�, ������ �ð������� SSI �����ܿ�
�� �������Ͽ����� ������ �� �ְ� �Ǿ���. mod_include���� (����
Perl ����ǥ���� ��������) ����ǥ���� �Ľ̰� ����
����� <module>mod_include</module>�� <code>$0</code>
... <code>$9</code> ������ ���� �� �ִ�.</dd>
<dt><module>mod_auth_dbm</module></dt>
<dd>���� <directive module="mod_auth_dbm">AuthDBMType</directive>
���þ ����Ͽ� ���� DBM�� �����ͺ��̽��� �����Ѵ�.</dd>
</dl>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/sections.xml.ko
Index: sections.xml.ko
===================================================================
<?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.6 -->
<manualpage metafile="sections.xml.meta">
<title>���� ����</title>
<summary> <p><a href="configuring.html">��������</a>�� �ִ�
���þ�� ���� ��ü�� ����ǰų�, Ư�� ���丮, ����, ȣ��Ʈ,
URL���� ����� �� �ִ�. �� ������ �ٸ� ���þ��� ���������
�����ϱ����� ���� �����̳� <code>.htaccess</code> ������
����ϴ� ����� �����Ѵ�.</p>
</summary>
<section id="types"><title>���� ������ ����</title>
<related>
<modulelist>
<module>core</module>
<module>mod_proxy</module>
</modulelist>
<directivelist>
<directive type="section" module="core">Directory</directive>
<directive type="section" module="core">DirectoryMatch</directive>
<directive type="section" module="core">Files</directive>
<directive type="section" module="core">FilesMatch</directive>
<directive type="section" module="core">IfDefine</directive>
<directive type="section" module="core">IfModule</directive>
<directive type="section" module="core">Location</directive>
<directive type="section" module="core">LocationMatch</directive>
<directive type="section" module="mod_proxy">Proxy</directive>
<directive type="section" module="mod_proxy">ProxyMatch</directive>
<directive type="section" module="core">VirtualHost</directive>
</directivelist>
</related>
<p>���ǿ��� �ΰ��� ������ �ִ�. ��κ��� �ſ�û���� ó���ȴ�.
�ش��ϴ� ��û���� �ȿ� ������ ���þ �����Ѵ�. �ݴ��, <directive
type="section" module="core">IfDefine</directive>�� <directive
type="section" module="core">IfModule</directive>�� ������
�����Ҷ��� �������� ó���Ѵ�. �����Ҷ� ���°� ���̸� �ȿ� �ִ�
���þ ��� ��û�� ����ȴ�. ���� �ƴϸ� �ȿ� �ִ� ���þ��
�����Ѵ�.</p>
<p><directive type="section" module="core">IfDefine</directive>
���þ�� <code>httpd</code> ����� ������ �Ķ���Ͱ� �ִ�
��쿡�� �ȿ� ������ ���þ �����Ѵ�. ���� ������ ���� ���,
������ <code>httpd -DClosedForNow</code>�� ������ ��쿡��
��� ��û�� �ٸ� ����Ʈ�� �����̷��ǵȴ�:</p>
<example>
<IfDefine ClosedForNow><br />
Redirect / http://otherserver.example.com/<br />
</IfDefine>
</example>
<p><directive type="section" module="core">IfModule</directive>
���þ Ư�� ����� ������ ���Ե� ��쿡�� �ȿ� �� ���þ
�����Ѵٴ� ���� �����ϰ��� �ſ� ����ϴ�. ����� ������ ��������
�������ϰų� �������� ���������� �������� �տ� <directive
module="mod_so">LoadModule</directive> ���� �־�� �Ѵ�. ��
���þ�� Ư�� ����� ��ġ������ ���� ���������� �ٸ� �ʿ䰡
�������� ����ؾ� �Ѵ�. ����� ���� ��� ������ �������� ����������
�� �ֱ� ������ ������ ����ϱ� ���ϴ� ���þ �ȿ� �θ� �ȵȴ�.</p>
<p>���� ������ <module>mod_mime_magic</module>�� �������� <directive
module="mod_mime_magic">MimeMagicFiles</directive> ���þ
ó���Ѵ�.</p>
<example>
<IfModule mod_mime_magic.c><br />
MimeMagicFile conf/magic<br />
</IfModule>
</example>
<p><directive type="section" module="core">IfDefine</directive>��
<directive type="section" module="core">IfModule</directive>��
�˻� �տ� "!"�� �ٿ� ������ ������ �� �� �ִ�. ��, ���� ���ǵ���
���ļ� ����Ͽ� �� ������ ȿ���� ���� �� �ִ�.</p>
</section>
<section id="file-and-web"><title>���Ͻý��۰� ������</title>
<p>���� ���� ���Ǵ� ���� ������ ���Ͻý��۰� ������(webspace)��
Ư�� ��ҿ� ���� ������ �����ϴ� �͵��̴�. ���� �� ���� ���̸�
�����ϴ� ���� �߿��ϴ�. ���Ͻý����� �ü�� ���忡�� ��ũ��
���� �����̴�. ���� ���, �⺻������ ����ġ�� ��ġ�� �ϸ� ���н�
���Ͻý����� ��� <code>/usr/local/apache2</code>, ��������
���Ͻý����� ��� <code>"c:/Program Files/Apache
Group/Apache2"</code>�� ��ġ�ȴ�. (����ġ�� ��������� ����
��, ���������� �ƴ�, �������� ������� �����϶�.) �ݴ��
�������� �������� �����ϰ� Ŭ���̾�Ʈ�� ���Ե� ����Ʈ�� �����̴�.
���� ���н����� �⺻ ����ġ ��ġ�� �� ��� ������� ���
<code>/dir/</code>�� ���Ͻý��� ���
<code>/usr/local/apache2/htdocs/dir/</code>�� �ش��Ѵ�. ��������
����Ÿ���̽� ��� �������� ������ �� �ֱ���� �ݵ��
���Ͻý��ۿ� ���� ������ �ʿ�� ����.</p>
<section id="filesystem"><title>���Ͻý��� ����</title>
<p><directive type="section" module="core">Directory</directive>��
<directive type="section" module="core">Files</directive> ���þ��
����ǥ������ ����ϴ� ���þ�� ���Ͻý����� Ư�� �κп� ���þ
�����Ѵ�. <directive type="section"
module="core">Directory</directive> ���þ ���Ե� ���þ����
������ ���Ͻý��� ���丮�� �� ���� ���丮�� ����ȴ�. <a
href="howto/htaccess.html">.htaccess ����</a>�� ����ص� �����
����. ���� ������ ���� ���, ���丮 ���(index)��
<code>/var/web/dir1</code> ���� ���丮���� ���丮 ���(index)��
�����ϴ�.</p>
<example>
<Directory /var/web/dir1><br />
Options +Indexes<br />
</Directory>
</example>
<p><directive type="section"
module="core">Files</directive> ���ǿ� ���Ե� ���þ���� �
���丮�� �ִ��� ������� ������ �̸��� ���� ���Ͽ� ����ȴ�.
���������� �ּ����κп� �ִ� ���� ������ ���� ���, ��ҿ�
������� <code>private.html</code>�̶� �̸��� �� ������ ������
�ź��Ѵ�.</p>
<example>
<Files private.html><br />
Order allow,deny<br />
Deny from all<br />
</Files>
</example>
<p>���Ͻý����� Ư�� �κп� �ִ� ������ ��Ī�ϱ����� <directive
type="section" module="core">Files</directive>�� <directive
type="section" module="core">Directory</directive> ������ ����
����Ѵ�. ���� ������ ���� ���,
<code>/var/web/dir1/private.html</code>,
<code>/var/web/dir1/subdir2/private.html</code>,
<code>/var/web/dir1/subdir3/private.html</code> ����
<code>/var/web/dir1/</code> ���丮 �Ʒ��� �ִ� �̸���
<code>private.html</code>�� ������ ������ �ź��Ѵ�.</p>
<example>
<Directory /var/web/dir1><br />
<Files private.html><br />
Order allow,deny<br />
Deny from all<br />
</Files><br />
</Directory>
</example>
</section>
<section id="webspace"><title>������ ����</title>
<p><directive type="section" module="core">Location</directive>
���þ�� �̿� �ش��ϴ� ����ǥ������ ����ϴ� ���þ�� �ݴ��
Ư�� �������� ������ �ٲ۴�. ���� ������ ���� ���, /private����
�����ϴ� URL-����� ������ �źεȴ�. �����
<code>http://yoursite.example.com/private</code>,
<code>http://yoursite.example.com/private123</code>,
<code>http://yoursite.example.com/private/dir/file.html</code>
���� <code>/private</code> ���ڿ��� �����ϴ� ��û�� �ش�ȴ�.</p>
<example>
<Location /private><br />
Order Allow,Deny<br />
Deny from all<br />
</Location>
</example>
<p><directive type="section" module="core">Location</directive>
���þ�� ���Ͻý��ۿ� ������ �ʿ䰡 ����. ���� ���� ��� Ư��
URL�� <module>mod_status</module>�� �����ϴ� ����ġ ���� �ڵ鷯��
������Ű������ �����ش�. ���Ͻý��ۿ� <code>server-status</code>���
������ �ʿ����.</p>
<example>
<Location /server-status><br />
SetHandler server-status<br />
</Location>
</example>
</section>
<section id="wildcards"><title>���ϵ�ī��� ����ǥ����</title>
<p><directive type="section" module="core">Directory</directive>,
<directive type="section" module="core">Files</directive>,
<directive type="section" module="core">Location</directive>
���þ�� C ǥ�� ���̺귯���� <code>fnmatch</code>�� ����
������ ����ϴ� ���ϵ�ī�� ���ڸ� ����� �� �ִ�.
"*" ���ڴ� � ���ڿ��̶� ��Ÿ����, "?" ���ڴ� � ���� �Ѱ���
��Ÿ����, "[<em>seq</em>]"�� <em>seq</em> �߿� �� ���ڸ� ��Ÿ����.
� ���ϵ�ī�嵵 "/" ���ڸ� ��Ÿ������ ���Ѵ�. ���� �� ���ڴ�
���� ����ؾ� �Ѵ�.</p>
<p>�� ������ ������ �ʿ��ϸ� perlȣȯ <a
href="glossary.html#regex">����ǥ����</a>�� ����ϴ� <directive
type="section" module="core">DirectoryMatch</directive>, <directive
type="section" module="core">FilesMatch</directive>, <directive
type="section" module="core">LocationMatch</directive>�� �����
�� �ִ�. ���� �Ʒ� ������ ���տ� ���� ������ ����ǥ���� ������
����ϸ� ���þ ����Ǵ� ����� ��� ���ϴ��� �������.</p>
<p>��� ����� ���丮 ������ �����ϴ� ������ǥ���� ���ϵ�ī��
������ ������ ����:</p>
<example>
<Directory /home/*/public_html><br />
Options Indexes<br />
</Directory>
</example>
<p>����ǥ���� ������ ����Ͽ� �ѹ��� ���� ������ �����Ͽ�
���� ������ �ź��� �� �ִ�:</p>
<example>
<FilesMatch \.(?i:gif|jpe?g|png)$><br />
Order allow,deny<br />
Deny from all<br />
</FilesMatch>
</example>
</section>
<section id="whichwhen"><title>������ ����ϳ�</title>
<p>���Ͻý��� ���ǰ� ������ ���� �� �ϳ��� �����ϴ� ���� ������
�ſ� ����. ���Ͻý��ۿ� �ִ� ��ü�� ���þ �����Ҷ��� ��
<directive type="section" module="core">Directory</directive>��
<directive type="section" module="core">Files</directive>��
����Ѵ�. (����Ÿ���̽����� ������ ���������� ����) ���Ͻý��ۿ�
���� �ʴ� ��ü�� ���þ �����Ҷ��� <directive type="section"
module="core">Location</directive>�� ����Ѵ�.</p>
<p>���Ͻý��ۿ� �ִ� ��ü�� ������ �����ϱ����� <directive
type="section" module="core">Location</directive>�� ����ϸ�
���� �ȵȴ�. ���� �ٸ� ������ ���(URL)�� ���� ���Ͻý��� ��ҿ�
������ �� �����Ƿ�, �ɾ�� ������ ��ȸ�� �� �ֱ� �����̴�. ����
������ ���� ���캸��:</p>
<example>
<Location /dir/><br />
Order allow,deny<br />
Deny from all<br />
</Location>
</example>
<p>�� ������ <code>http://yoursite.example.com/dir/</code>��
��û�Ѵٸ� �� �۵��Ѵ�. ���� ��ҹ��ڸ� ���������ʴ� ���Ͻý�����
����Ѵٸ� ��Եdz�?
<code>http://yoursite.example.com/DIR/</code>�� ��û�Ͽ� ����
������ ��ȸ�� �� �ִ�. �ݴ�� <directive type="section"
module="core">Directory</directive> ���þ�� ��� ��û�Ͽ�����
������� �� ��ҿ��� ���Ǵ� ���뿡 ����ȴ�. (���ܴ� ���Ͻý���
��ũ�� ����ϴ� ����. �ɺ���ũ�� ����Ͽ� �� ���丮��
���Ͻý����� ���� ��ҿ� �� �� �ִ�. <directive type="section"
module="core">Directory</directive> ���þ�� �ɺ���ũ�� ����.
���Ƿ� ���� ������ ������ ���ؼ��� ������ <directive
module="core">Options</directive> ���þ ����Ͽ� �ɺ���ũ��
�����ؾ� �Ѵ�.)</p>
<p>�Ƹ��� ����� ��ҹ��ڸ� �����ϴ� ���Ͻý����� ����ϹǷ�
�̷� ���� �Ͼ�� �ʴ´ٰ� ���������� ��. ���� �ٸ�
������ε� ���� ������ ��ġ�� �� ���Ͻý��� ��ġ�� ������ ��
������ ����϶�. ���� �����ϸ� �� ���Ͻý��� ������ ����ؾ�
�Ѵ�. ���� �� ��Ģ�� ���ܰ� �ϳ� �ִ�. ���� ������
<code><Location /></code> ���ǿ� �θ� �� ������ Ư��
URL�� �ƴ� ��� ��û�� ����ǹǷ� �Ϻ��ϰ� �����ϴ�.</p>
</section>
</section>
<section id="virtualhost"><title>����ȣ��Ʈ</title>
<p><directive type="section" module="core">VirtualHost</directive>
������ Ư�� ȣ��Ʈ�� ����Ǵ� ���þ���� �����Ѵ�. �̴� ��
��ǻ�Ϳ��� ���� �ٸ� ������ ����� ���� ȣ��Ʈ�� �����Ҷ�
�����ϴ�. �� �ڼ��� ������ <a href="vhosts/">����ȣ��Ʈ ����</a>��
�����϶�.</p>
</section>
<section id="proxy"><title>���Ͻ�</title>
<p><directive type="section" module="mod_proxy">Proxy</directive>��
<directive type="section" module="mod_proxy">ProxyMatch</directive>
������ ������ URL�� ���� <module>mod_proxy</module> ���Ͻ� ������
���� �����ϴ� ��쿡�� ����ȴ�. ���� ������ ���� ���, ���Ͻ�
������ ���� <code>cnn.com</code> ������Ʈ�� ������ �� ����.</p>
<example>
<Proxy http://cnn.com/*><br />
Order allow,deny<br />
Deny from all<br />
</Proxy>
</example>
</section>
<section id="whatwhere"><title>�ȿ� � ���þ ����� ��
�ֳ�?</title>
<p>� ���� ���Ǿȿ� ����� �� �ִ� ���þ �˷��� ���þ���
<a href="mod/directive-dict.html#Context">������</a>�� Ȯ���϶�.
<directive type="section" module="core">Directory</directive>����
��밡���� ���þ�� <directive type="section"
module="core">DirectoryMatch</directive>, <directive type="section"
module="core">Files</directive>, <directive type="section"
module="core">FilesMatch</directive>, <directive type="section"
module="core">Location</directive>, <directive type="section"
module="core">LocationMatch</directive>, <directive type="section"
module="mod_proxy">Proxy</directive>, <directive type="section"
module="mod_proxy">ProxyMatch</directive> ���ǿ����� ��밡���ϴ�.
����, ���ܰ� �ִ�.</p>
<ul>
<li><directive module="core">AllowOverride</directive> ���þ��
<directive type="section" module="core">Directory</directive>
���ǿ����� ����� �� �ִ�.</li>
<li><code>FollowSymLinks</code>, <code>SymLinksIfOwnerMatch</code>,
<directive module="core">Options</directive>�� <directive
type="section" module="core">Directory</directive> �����̳�
<code>.htaccess</code> ���Ͽ����� ����� �� �ִ�.</li>
<li><directive module="core">Options</directive> ���þ��
<directive type="section" module="core">Files</directive>��
<directive type="section" module="core">FilesMatch</directive>
���ǿ��� ����� �� ����.</li>
</ul>
</section>
<section id="mergin"><title>���ǵ��� �����ϴ� ���</title>
<p>���� ������ �ſ� Ư���� ������� ����ȴ�. �� ������ ����
���þ �ؼ��ϴ� ����� �߿��� ������ �ֱ���� �� �����
�����ϴ� ���� �߿��ϴ�.</p>
<p>�����ϴ� ������:</p>
<ol>
<li> (����ǥ������ ��������ʴ�) <directive type="section"
module="core">Directory</directive>�� .htaccess�� ���ÿ�
�Ͼ�� (��쿡 ���� .htaccess�� <directive type="section"
module="core">Directory</directive>�� �����ϵ��� ������
�� �ִ�)</li>
<li><directive type="section"
module="core">DirectoryMatch</directive> (����
<code><Directory ~></code>)</li>
<li><directive type="section"
module="core">Files</directive>�� <directive type="section"
module="core">FilesMatch</directive>�� ���ÿ� �Ͼ��</li>
<li><directive type="section"
module="core">Location</directive>�� <directive type="section"
module="core">LocationMatch</directive>�� ���ÿ� �Ͼ��</li>
</ol>
<p><directive type="section"
module="core">Directory</directive>�� �����ϰ� �� ���ǵ���
�������Ͽ� ���� ������� ó���ȴ�. (���� ���� 1) <directive
type="section" module="core">Directory</directive>�� ���丮
������ ���� ª�� �Ϳ��� �������� ó���ȴ�. ���� ���� ���,
<code><Directory /var/web/dir></code>��
<code><Directory /var/web/dir/subdir></code> ������
ó���Ѵ�. ���� ���丮�� ��Ī�ϴ� ���� <directive
type="section" module="core">Directory</directive> ������
�ִٸ� �̵��� �������� ������� ó���Ѵ�. <directive
module="core">Include</directive> ���þ�� ������ ������
<directive module="core">Include</directive> ���þ� ��ġ��
������ ���� ������ �ִ� ��ó�� ó���Ѵ�.</p>
<p><directive type="section"
module="core">VirtualHost</directive> ���� �ȿ� ���Ե� ������
����ȣ��Ʈ ���� �ۿ� �ִ� �ش� ���� <em>���Ŀ�</em> ����ȴ�.
���� ����ȣ��Ʈ �ȿ��� �ּ����� ���������� ������ �� �ִ�.</p>
<p>������ ������ ������ ���� ������ ����� �����Ѵ�.</p>
<note><title>����� ����</title>
������
<code><Location></code>/<code><LocationMatch></code>��
(<code>Aliases</code>�� <code>DocumentRoot</code>�� ����Ͽ�
URL�� ���ϸ����� ��ȯ�ϴ�) �̸����� �ܰ� ������ ó���ȴ�.
������ ���� ���Ŀ��� ������ �����Ѵ�.
</note>
<section id="merge-examples"><title>����</title>
<p>������ �����ϴ� ������ �����ϴ� ����. �̵� ��� ��û��
����ȴٰ� �����ϸ� ���þ�� A > B > C > D > E
������ ó���ȴ�.</p>
<example>
<Location /><br />
E<br />
</Location><br />
<br />
<Files f.html><br />
D<br />
</Files><br />
<br />
<VirtualHost *><br />
<Directory /a/b><br />
B<br />
</Directory><br />
</VirtualHost><br />
<br />
<DirectoryMatch "^.*b$"><br />
C<br />
</DirectoryMatch><br />
<br />
<Directory /a/b><br />
A<br />
</Directory><br />
<br />
</example>
<p>�� �������� ���� ������ ����. <directive module="core"
type="section">Location</directive> ������ ���߿� ó���ϹǷ�
<directive module="core" type="section">Directory</directive>
���ǿ� �ִ� �������Ѱ� ������� ������ ������ ������ �����ϴ�.
��, �����ϴ� ������ �߿��ϹǷ� �����϶�!</p>
<example>
<Location /><br />
Order deny,allow<br />
Allow from all<br />
</Location><br />
<br />
# ��! �� <Directory> ������ �ƹ��� ȿ���� ����<br />
<Directory /><br />
Order allow,deny<br />
Allow from all<br />
Deny from badguy.example.com<br />
</Directory>
</example>
</section>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/server-wide.xml.ko
Index: server-wide.xml.ko
===================================================================
<?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 -->
<manualpage metafile="server-wide.xml.meta">
<title>���� ���� ����</title>
<summary>
<p>�� ������ <module>core</module> ������ ������ �⺻ �ൿ��
�����ϱ����� �����ϴ� ���þ��� �Ϻθ� �����Ѵ�.</p>
</summary>
<section id="identification">
<title>���� �ĺ�</title>
<related>
<directivelist>
<directive module="core">ServerName</directive>
<directive module="core">ServerAdmin</directive>
<directive module="core">ServerSignature</directive>
<directive module="core">ServerTokens</directive>
<directive module="core">UseCanonicalName</directive>
</directivelist>
</related>
<p><directive module="core">ServerAdmin</directive>��
<directive module="core">ServerTokens</directive> ���þ��
������ �� ������ �����ϴ� ������ ���� ������ ���� ������
�����Ѵ�. <directive module="core">ServerTokens</directive>
���þ�� ���� HTTP ���� ����� �����Ѵ�.</p>
<p>������ <directive module="core">ServerName</directive>��
<directive module="core">UseCanonicalName</directive>
���þ ����Ͽ� �ڱ����� URL�� �����. ���� ���,
Ŭ���̾�Ʈ�� ���丮�� ��û������ ���丮�� �ڿ� ��������
���������� ��� ����ġ�� �ڿ� �������� ���� ��ü �̸���
Ŭ���̾�Ʈ���� �����̷�Ʈ�Ͽ�, Ŭ���̾�Ʈ�� ������ ���������
�ùٷ� ã�� �Ѵ�.</p>
</section>
<section id="locations">
<title>���� ��ġ</title>
<related>
<directivelist>
<directive module="mpm_common">CoreDumpDirectory</directive>
<directive module="core">DocumentRoot</directive>
<directive module="core">ErrorLog</directive>
<directive module="mpm_common">LockFile</directive>
<directive module="mpm_common">PidFile</directive>
<directive module="mpm_common">ScoreBoardFile</directive>
<directive module="core">ServerRoot</directive>
</directivelist>
</related>
<p>�� ���þ���� ����ġ�� ���������� �����ϱ����� �ʿ���
���� ���ϵ��� ��ġ�� �����Ѵ�. ��θ��� ������(/)�� ��������
������, <directive module="core">ServerRoot</directive>��
������� ������ ã�´�. root�� �ƴ� ����ڿ��� ���������
�ִ� ��ο� ������ �����ʵ��� �����ض�. �� �ڼ��� ������
<a href="misc/security_tips.html#serverroot">���� ��</a>
������ �����϶�.</p>
</section>
<section id="resource">
<title>�ڿ���� ����</title>
<related>
<directivelist>
<directive module="core">LimitRequestBody</directive>
<directive module="core">LimitRequestFields</directive>
<directive module="core">LimitRequestFieldsize</directive>
<directive module="core">LimitRequestLine</directive>
<directive module="core">RLimitCPU</directive>
<directive module="core">RLimitMEM</directive>
<directive module="core">RLimitNPROC</directive>
<directive module="mpm_netware">ThreadStackSize</directive>
</directivelist>
</related>
<p><directive>LimitRequest</directive>* ���þ�� ����ġ��
Ŭ���̾�Ʈ�� ��û�� ���� �� ����� �ڿ����� �����Ѵ�. �̷�
������ �����Ͽ� ���ź�(denial of service)�� ������
���� �� �ִ�.</p>
<p><directive>RLimit</directive>* ���þ�� ����ġ �ڽ���
�����ϴ� ���μ����� ����� �ڿ����� �����Ѵ�. Ư�� CGI
��ũ��Ʈ�� SSI exec ���ɾ ����� �ڿ��� �����Ѵ�.</p>
<p><directive module="mpm_netware">ThreadStackSize</directive>
���þ�� ���� ũ�⸦ �����ϱ����� Netware������ ����Ѵ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/sitemap.xml.ko
Index: sitemap.xml.ko
===================================================================
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE sitemap SYSTEM "./style/sitemap.dtd"
[ <!ENTITY allmodules SYSTEM "./mod/allmodules.xml.ko"> ]
>
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
<!-- English revision: 1.29 -->
<sitemap metafile="sitemap.xml.meta">
<title>����Ʈ��</title>
<summary>
<p>�� �������� ����
<a href="./">Apache HTTP Server Version 2.1 ����</a> �����
�����ش�.</p>
</summary>
<category id="release">
<title>��ǥ��</title>
<page href="upgrading.html">1.3���� 2.0���� �����̵�</page>
<page href="new_features_2_0.html">����ġ 2.0�� ���ο� ���</page>
<page href="license.html">����ġ ���̼���</page>
</category>
<category id="using">
<title>����ġ ������ ����ϱ�</title>
<page href="install.html">����ġ �����ϰ� ��ġ</page>
<page href="invoking.html">����ġ ����</page>
<page href="stopping.html">���� �ߴܰ� �����</page>
<page href="configuring.html">��������</page>
<page href="sections.html">��� Directory, Location, Files ������
�����ϳ�</page>
<page href="server-wide.html">���� ���� ����</page>
<page href="logs.html">�����</page>
<page href="urlmapping.html">URL�� ���Ͻý��ۿ� ����</page>
<page href="misc/security_tips.html">���� ��</page>
<page href="dso.html">����������ü (DSO) ����</page>
<page href="content-negotiation.html">�������� (content negotiation)</page>
<page href="custom-error.html">��������� ���� ����</page>
<page href="bind.html">����ġ�� ����� �ּҿ� ��Ʈ ����</page>
<page href="mpm.html">������� (MPM)</page>
<page href="env.html">����ġ�� ȯ�溯��</page>
<page href="handler.html">����ġ���� �ڵ鷯 ���</page>
<page href="filter.html">����</page>
<page href="suexec.html">suEXEC ����</page>
<page href="misc/perf-tuning.html">������� ��Ʈ</page>
<page href="misc/rewriteguide.html">URL ���ۼ�(rewriting) ��ħ��</page>
</category>
<category id="vhosts">
<title>����ġ ����ȣ��Ʈ ����</title>
<page separate="yes" href="vhosts/">����</page>
<page href="vhosts/name-based.html">�̸���� ����ȣ��Ʈ</page>
<page href="vhosts/ip-based.html">IP��� ����ȣ��Ʈ ����</page>
<page href="vhosts/mass.html">�뷮�� ����ȣ��Ʈ�� �������� �����ϱ�</page>
<page href="vhosts/examples.html">����ȣ��Ʈ ��</page>
<page href="vhosts/details.html">����ȣ��Ʈ ã� ���� �ڼ��� ����</page>
<page href="vhosts/fd-limits.html">���ϱ����(file descriptor) �Ѱ�</page>
<page href="dns-caveats.html">DNS�� ����ġ�� ���õ� ����</page>
</category>
<category id="faq">
<title>����ġ ������ ���� ���� ����� ����</title>
<page href="faq/">����</page>
<page separate="yes" href="faq/all_in_one.html">��� �� ��������</page>
<page href="faq/support.html">����</page>
</category>
<category id="ssl">
<title>����ġ SSL/TLS ��ȣȭ</title>
<page separate="yes" href="ssl/">�Ұ�</page>
<page href="ssl/ssl_intro.html">SSL/TLS ��ȣȭ: �Ұ�</page>
<page href="ssl/ssl_compat.html">SSL/TLS ��ȣȭ: ȣȯ��</page>
<page href="ssl/ssl_howto.html">SSL/TLS ��ȣȭ: How-To</page>
<page href="ssl/ssl_faq.html">SSL/TLS ��ȣȭ: FAQ</page>
</category>
<category id="howto">
<title>��ħ��, ���丮��, HowTo</title>
<page separate="yes" href="howto/">����</page>
<page href="howto/auth.html">����</page>
<page href="howto/cgi.html">CGI�� ���� ����</page>
<page href="howto/ssi.html">Server Side Includes �Ұ�</page>
<page href="howto/htaccess.html">.htaccess ����</page>
<page href="howto/public_html.html">����ں� �����丮</page>
</category>
<category id="platform">
<title>�÷����� ����</title>
<page separate="yes" href="platform/">����</page>
<page href="platform/windows.html">Microsoft Windows���� ����ġ
����ϱ�</page>
<page href="platform/win_compiling.html">Microsoft Windows����
����ġ �������ϱ�</page>
<page href="platform/netware.html">Novell NetWare���� ����ġ
����ϱ�</page>
<page href="platform/perf-hp.html">HPUX���� ������ ������
�����ϱ�</page>
<page href="platform/ebcdic.html">����ġ EBCDIC ����</page>
</category>
<category id="programs">
<title>����ġ �������� ���� ���α�</title>
<page separate="yes" href="programs/">����</page>
<page href="programs/httpd.html">Manpage: httpd</page>
<page href="programs/ab.html">Manpage: ab</page>
<page href="programs/apachectl.html">Manpage: apachectl</page>
<page href="programs/apxs.html">Manpage: apxs</page>
<page href="programs/dbmmanage.html">Manpage: dbmmanage</page>
<page href="programs/htdigest.html">Manpage: htdigest</page>
<page href="programs/htpasswd.html">Manpage: htpasswd</page>
<page href="programs/logresolve.html">Manpage: logresolve</page>
<page href="programs/rotatelogs.html">Manpage: rotatelogs</page>
<page href="programs/suexec.html">Manpage: suexec</page>
<page href="programs/other.html">�ٸ� ���α���</page>
</category>
<category id="misc">
<title>��Ÿ ����ġ ����</title>
<page separate="yes" href="misc/">����</page>
<page href="cgi_path.html">CGI ȯ�濡�� PATH_INFO�� ��ȭ</page>
</category>
<category id="modules">
<title>����ġ ���</title>
<page href="mod/">��� ���</page>
<page href="mod/directives.html">���þ� ���</page>
<page href="mod/quickreference.html">���þ� ��������</page>
&allmodules;
</category>
<category id="developer">
<title>������ ����</title>
<page separate="yes" href="developer/">����</page>
<page href="developer/API.html">Apache API ����</page>
<page href="developer/debugging.html">APR�� ���Ҵ� �����</page>
<page href="developer/documenting.html">Apache 2.0 ����ȭ</page>
<page href="developer/hooks.html">Apache 2.0 ��(hook) �Լ�</page>
<page href="developer/modules.html">Apache 1.3���� Apache 2.0����
����� �����ϱ�</page>
<page href="developer/request.html">Apache 2.0�� ��ûó��</page>
<page href="developer/filters.html">Apache 2.0�� ���� ���۹�</page>
</category>
<category id="descriptive">
<title>���� ����</title>
<page href="mod/module-dict.html">����ġ ����� �����ϴµ� �����
�������</page>
<page href="mod/directive-dict.html">����ġ ���þ �����ϴµ�
����� �������</page>
<page href="glossary.html">���</page>
<page>����Ʈ�� (�� ����)</page>
</category>
</sitemap>
1.1 httpd-2.0/docs/manual/stopping.xml.ko
Index: stopping.xml.ko
===================================================================
<?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.9 -->
<manualpage metafile="stopping.xml.meta">
<title>�ߴܰ� �����</title>
<summary>
<p>�� ������ ���н��� �ý��ۿ��� ����ġ�� �ߴ��ϰ� ������ϴ�
������ ����ִ�. �������� NT, 2000, XP ����ڴ� <a
href="platform/windows.html#winsvc">���� ����ġ
�����ϱ�</a>����, �������� 9x�� ME ����ڴ� <a
href="platform/windows.html#wincons">�ݼ� ���α�����
����ġ �����ϱ�</a>���� �÷����� ����ġ ���۹��� �� �� �ִ�.</p>
</summary>
<seealso><a href="programs/httpd.html">httpd</a></seealso>
<seealso><a href="programs/apachectl.html">apachectl</a></seealso>
<section id="introduction"><title>�Ұ�</title>
<p>����ġ�� �ߴ��ϰ� ������Ϸ��� �����ϰ� �ִ�
<code>httpd</code> ���μ����� �ñ׳��� ������ �Ѵ�. �ñ׳���
������ ����� �ΰ�����. �ϳ��� ���н� <code>kill</code>
���ɾ ����Ͽ� ���μ����� ���� �ñ׳��� ������ ����̴�.
�ý��ۿ� ���� <code>httpd</code>�� ���������, <directive
module="mpm_common">PidFile</directive>�� pid�� ��ϵ� �θ�ܿ�
�ٸ� ���μ����� �ñ׳�(signal)�� ������ �ȵȴ�. ��, �θ��̿ܿ�
�ٸ� ���μ����� �ñ׳��� ���� �ʿ䰡 ���ٴ� ���̴�. �θ�
���� �� �ִ� �ñ׳��� ��������, ���� ������ <code><a
href="#term">TERM</a></code>, <code><a
href="#hup">HUP</a></code>, <code><a
href="#graceful">USR1</a></code>�̴�.</p>
<p>������ ���� �θ� �ñ׳��� ������:</p>
<example>kill -TERM `cat /usr/local/apache2/logs/httpd.pid`</example>
<p><code>httpd</code> ���μ������� �ñ׳��� ������ �ٸ� �����
������ �ɼ� <code>-k</code>�� ����ϴ� ���̴�. �Ʒ��� ������
<code>stop</code>, <code>restart</code>, <code>graceful</code>��
<a href="programs/httpd.html">httpd</a> ���������� �ƱԸ�Ʈ���̴�.
���� �� �ƱԸ�Ʈ��� <code>httpd</code>�� �����ϴ�, <a
href="programs/apachectl.html">apachectl</a> ��ũ��Ʈ��
����ϱ� ���Ѵ�.</p>
<p><code>httpd</code>�� �ñ׳��� ������, ���� ���ɾ��
�����Ȳ�� �� �� �ִ�:</p>
<example>tail -f /usr/local/apache2/logs/error_log</example>
<p>�� ���� ����� <directive
module="core">ServerRoot</directive>�� <directive
module="mpm_common">PidFile</directive> ������ �˸°� �����϶�.</p>
</section>
<section id="term"><title>���� �ߴ�</title>
<dl><dt>�ñ׳�: TERM</dt>
<dd><code>apachectl -k stop</code></dd>
</dl>
<p><code>TERM</code>�̳� <code>stop</code> �ñ׳��� �θ�
������ ��� ��� �ڽ��� ���δ�. �ڽ��� ������ ���̴µ���
�� �ʰ� �ɸ� �� �ִ�. ���� �θ� �����Ѵ�. ó������ ��û��
�ߴܵǰ�, �� �̻� ��û�� �����ʴ´�.</p>
</section>
<section id="graceful"><title>������ �����</title>
<dl><dt>�ñ׳�: USR1</dt>
<dd><code>apachectl -k graceful</code></dd>
</dl>
<p><code>USR1</code>�̳� <code>graceful</code> �ñ׳���
�θ� ������ �θ� ���μ����� �ڽĵ鿡�� ���� ��û��
ó������ �����϶�� (Ȥ�� ���� �ƹ��͵� ó������ �ʴٸ�
��� �����϶��) <em>�����Ѵ�</em>. �θ�� ����������
�ٽ��а� �α����ϵ� �ٽ� ����. �ڽ��� ���������� �θ��
���� �ڽĴ�� ���ο� ���� <em>����</em>�� ������ �ڽ���
�����Ͽ� ��� ��û�� ó���ϰ� �Ѵ�.</p>
<note>������ �����(graceful restart)���� <code>USR1</code>��
����� �� ���� �÷��������� ��� (<code>WINCH</code>�� ����)
�ٸ� �ñ׳��� ����� �� �ִ�. <code>apachectl graceful</code>��
�÷����� �˸��� �ñ׳��� ������.</note>
<p>������ ������� �� MPM�� ���μ��� ���� ���þ� ������
�����Ͽ�, ����۵��� Ŭ���̾�Ʈ�� �����ϴ� ���μ����� �����尡
������ ���� �����ϵ��� ����Ǿ���. �Դٰ� <directive
module="mpm_common">StartServers</directive>��, ���� ��
�ּ��� StartServers��ŭ ���ο� �ڽ��� �ȸ�������� �ڽ���
StartServers ���� �ǵ��� ���� �����. ��, ���α��� ������
���� ���Ͽ� �˸��� �ڽ��� ������ �����ϸ�,
<directive>StartServers</directive> �Ķ���ͷ� ������ �����
��븦 �����Ѵ�.</p>
<p><module>mod_status</module> ����ڴ� <code>USR1</code>��
������ ���� ��谡 0�� ���� <strong>������</strong> ����
���̴�. ������ ���ο� ��û�� (�ü���� �̵��� ť�� ��Ƽ�
� ��쿡�� �Ҿ������ �ʴ´�) ó������ ���ϴ� �ð���
�ּ�ȭ�ϰ� ����� Ʃ�� �Ķ���� �����ϵ��� ���������.
�̸� ���� ���밣 ��� �ڽ��� ����ϴ� <em>scoreboard</em>��
�����Ѵ�.</p>
<p>status ����� ���� ������ ����� ���� �����Ͽ� ������
��û�� ó���ϰ� �ִ� �ڽ��� <code>G</code>�� �˷��ش�.</p>
<p>����δ� <code>USR1</code>�� ����ϴ� �α�ȯ ��ũ��Ʈ��
��������� ��� �ڽ��� �α��ۼ��� ���ƴ��� �� �� �ִ�
����� ����. �츮�� <code>USR1</code> �ñ׳��� ������
������ �ð��� ������ ���� �α� �ٷ絵�� �����Ѵ�. ����
��� ���� �뿪�� ������� ��� ���� ��κ��� ��ġ�µ� 10����
�Ȱɸ��ٸ�, ���� �α� �ٷ������ 15�� ��ٸ���.</p>
<note>�������Ͽ� ������ �ִٸ� ����۽� �θ�� ���������
�ʰ� ������ ���� �����Ѵ�. ��, ������ ������� ��� �����Ҷ�
�ڽ��� ����ǵ��� ���д�. (�ڽĵ��� �ڽ��� ������ ��û��
ó���ϰ� "���ݰ� �����Ѵ�".) �̴� ������ ������Ҷ�
������ �ȴ�. ������ �ڽ��� ��ٸ� ��Ʈ�� �������� ���Ѵ�.
��������� <code>-t</code> ������ �ɼ�(<a
href="programs/httpd.html">httpd</a> ����)���� ��������
������ �˻��� �� �ִ�. ���� �̷� �˻絵 ������ �ùٷ�
����������� �������� ���Ѵ�. ���������� ������ �ƴ� �ǹ̸�
�˻��Ϸ��� root�� �ƴ� ����ڷ� <code>httpd</code>�� �����غ� �� �ִ�.
root�� �ƴϱ���� (�ƴϸ� ���� �� ��Ʈ�� ����ϴ�
<code>httpd</code>�� ����DZ����) ������ ���ٸ� ���ϰ�
�α������� ������ �õ��ϴ� �������� ������ ���̴�. �ٸ�
���������� �����Ѵٸ� �Ƹ��� �������Ͽ� ������ ���� ���̴�.
������ ������� �ϱ����� ������ ���ľ��Ѵ�.</note>
</section>
<section id="hup"><title>���� �����</title>
<dl><dt>�ñ׳�: HUP</dt>
<dd><code>apachectl -k restart</code></dd>
</dl>
<p><code>HUP</code>�̳� <code>restart</code> �ñ׳���
�θ� ������ <code>TERM</code>�� ���� ��� �ڽ���
�������� �θ�� �������� �ʴ´�. �θ�� ���������� �ٽ��а�
�α������� �ٽ� ����. ���� ���ο� �ڽĵ��� ����� ����
����Ѵ�.</p>
<p><module>mod_status</module> ����ڴ� <code>HUP</code>��
������ ���� ��谡 0�� ���� �� �� �ִ�.</p>
<note>�������Ͽ� ������ �ִٸ� ������� �ص� �θ�� ���������
�ʰ� ������ ���� ������ ���̴�. �̸� ���ϴ� ����� ���� �����϶�.</note>
</section>
<section id="race"><title>�η�: �ñ׳ΰ� ���̽� �����</title>
<p>Apache 1.2b9 �������� ����۰� ���� �ñ׳ο� �����
<em>���̽� �����(race condition)</em>�� �־���. (���̽�
������� ������ �������ڸ�, � ���� �߸��ȶ� �Ͼ��
����Ѵ�� �������� �ʴ� �ð��� �ΰ��� ������.) "�ùٸ�"
����� �ִ� ��Ű���Ŀ��� �츮�� �̷� ������ �ִ��� �ذ��ߴ�.
���� � ��Ű���Ŀ��� ������ ���̽� ������� ��������
�����϶�.</p>
<p><directive module="mpm_common">ScoreBoardFile</directive>��
��ũ�� �����ϴ� ��Ű���Ĵ� scoreboard�� ����Ʈ�� ���ɼ���
�ִ�. ���� (<code>HUP</code>��) "bind: Address already in use"
Ȥ�� (<code>USR1</code> ��) "long lost child came home!"��
���� �� �ִ�. ���ڴ� �ɰ��� �����̰�, ���ڴ� ���� ������
scoreboard slot�� �Ұ� �����. ���� ���� ������� ���̰�
������ ������� ����ϱ� ��õ�Ѵ�. �� ������ �ذ��ϱ� �ſ�
�����. ���� �������� ��κ��� ��Ű���Ĵ� scoreboard�� ������
������� �ʴ´�. ������ ����ϴ� ��Ű���Ķ�� <directive
module="mpm_common">ScoreBoardFile</directive> ������ �����϶�.</p>
<p>��� ��Ű���Ŀ��� ���ӵǴ� HTTP ���� (KeepAlive)����
�ι�° ���� ��û�� ó���ϴ� �ڽĿ� �ణ�� ���̽� �������
�ִ�. �ڽ��� ��û���� ���� �� ��û ����� �б����� ������ ��
�ִ�. �� ������ �ʹ� �ʰ� �߰��Ͽ� 1.2 ������ �����Ŀ���
�����Ǿ���. ���� ��Ʈ�� �����̳� ���� �ð����Ѷ����� KeepAlive
Ŭ���̾�Ʈ�� �̷� ��츦 �����ؾ��ϱ� ������ �̷л� ������
�ȵȴ�. ������ ������ �˻��ϱ����� ���ʿ� 20�� ������ϴ� ����
Ŭ���̾�Ʈ�� ���� ���̳� �� �������� ����Ʈ�� ����������
�о���̱� ������� �ʴ´ٸ� ������ �ȵȴ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/suexec.xml.ko
Index: suexec.xml.ko
===================================================================
<?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.7 -->
<manualpage metafile="suexec.xml.meta">
<title>suEXEC ����</title>
<summary>
<p><strong>suEXEC</strong> ����� ����ġ�� <strong>CGI</strong>��
<strong>SSI</strong> ����� �������� ������ ����� ID��
�ƴ� �ٸ� ����� ID�� �����ϵ��� �Ѵ�. ���� CGI�� SSI ���α���
�����ϸ� �������� ������ ����ڿ� ���� ����ڷ� �����Ѵ�.</p>
<p>�� ����� ������ ����ϸ� ����ڰ� ���� CGI�� SSI ���α���
�����ϰ� �����Ҷ� ���� �� �ִ� ���������� ����� ����
�� �ִ�. ���� suEXEC�� �������ϰ� �����Ǹ� ���� ������
��ǻ�Ϳ� ���ο� ���� ������ ���� �� �ִ�. ���� setuid root
���α��� �̷� ���α��� ���� ������ �����ϴٸ� suEXEC��
��������ʱ� �������� �ٶ���.</p>
</summary>
<section id="before"><title>�����ϱ� ����</title>
<p>�����ϱ� ���� �켱 ����ġ��� �� ������ ������ ������.</p>
<p>���� <strong>setuid</strong>�� <strong>setgid</strong>
����� ������ ���н��� �ü���� ����Ѵٰ� �����Ѵ�. ���
���ɾ� ���鵵 ���� ������ �Ѵ�. suEXEC�� �����ϴ� �ٸ� �÷�����
����ϴٸ� ������ �ٸ� �� �ִ�.</p>
<p>�ι�°, ����� ��ǻ�� ������ �⺻ ����� ������ �ͼ��ϴٰ�
�����Ѵ�. ����� <strong>setuid/setgid</strong> ��ɰ�
�̵��� �ý��۰� ���ȿ� ��ġ�� ���� ��� ���� ���ذ� ���Եȴ�.</p>
<p>����°, suEXEC �ڵ��� <strong>������������</strong>
������ ����Ѵٰ� �����Ѵ�. �����ڿ� ���� ��Ÿ���͵���
suEXEC�� ���õ� ��� �ڵ带 ���ɽ����� �����ϰ� �˻��ߴ�.
�ڵ带 �����ϰ� �ϰ� Ȯ���� ������ �����ϱ����� ��� ���Ǹ�
����. �� �ڵ带 �����ϸ� ����ġ���� ������ ���ο� ����
������ ���� �� �ִ�. ���� ���α��ֿ� ���� �ſ� �� �˰�
�ڵ带 ���캸������ ����ġ��� �۾��� ������ �ǻ簡 ���ٸ�
suEXEC �ڵ带 ���������ʱ� <strong>������</strong> ���Ѵ�.</p>
<p>��°���� ����������, ����ġ���� suEXEC�� ����ġ
�⺻��ġ�� �������� <strong>�ʱ��</strong> �����ߴ�. �ᱹ
�����ڰ� ���Ǹ� ��←�� suEXEC�� �����ؾ� �Ѵ�. suEXEC��
���� ������ �� �������� �����ڴ� �Ϲ����� ��ġ����� suEXEC��
��ġ�� �� �ִ�. suEXEC ����� ����ϴ� �ý����� ������ å������
�����ڴ� �� ���������� �����ְ� ���캸�� �����ؾ� �Ѵ�.
�̷� ���� ������ suEXEC�� ����Ҹ�ŭ �����ְ� ��ȣ��
������� suEXEC�� ����ϵ��� ����ġ���� ���ϱ� �����̴�.</p>
<p>������ ����ϱ� ���ϴ°�? ����? ����. ���� ��������!</p>
</section>
<section id="model"><title>suEXEC ���ȸ�</title>
<p>suEXEC�� �����ϰ� ��ġ�ϱ� ���� �츮�� ���ȸ��� ����
�����Ѵ�. �̸� ���� ��Ȯ�� suEXEC �ȿ����� ���� ���� �Ͼ��
�ý����� ������ ���� ������ �����ؾ� ���� �� �� ������ ��
�ִ�.</p>
<p><strong>suEXEC</strong>�� ����ġ �������� �θ��� setuid
"wrapper" ���α��� ������� �Ѵ�. �� wrapper�� �����ڰ�
�ּ����� �ٸ� userid�� �����ϵ��� ������ CGI�� SSI ���α���
HTTP ��û�� ���� �Ҹ���. �̷� ��û�� ���� ����ġ�� suEXEC
wrapper���� ���α����� ���α��� ������ ����ڿ� ��
ID�� �����Ѵ�.</p>
<p>���� wrapper�� ���� ������ ���� ������ ���и� �����Ѵ�.
�� ������ �ϳ��� �����ϸ� ���α��� ���з� ��ϵǰ� ������
���� �����Ѵ�. �������� ������ ������ ����Ѵ�:</p>
<ol>
<li>
<strong>������ ���� �ƱԸ�Ʈ�� wrapper�� �����ϴ°�?</strong>
<p class="indent">
wrapper�� ������ ���� �ƱԸ�Ʈ�� �־�߸� ����ȴ�.
����ġ �������� �� ������ �ȴ�. wrapper�� ������ ����
�ƱԸ�Ʈ�� �������ϸ� ��ŷ�Ǿ��ų� ����ġ�� suEXEC��
���� ������ �ִ� ���̴�.
</p>
</li>
<li>
<strong>wrapper�� �����ϴ� ����ڰ� �ý����� ��������
�������</strong>
<p class="indent">
wrapper�� �����ϴ� ����ڰ� ������ �ý����� ���������
Ȯ���Ѵ�.
</p>
</li>
<li>
<strong>�� ����ڰ� wrapper�� �����ϵ��� ���Ǿ���?</strong>
<p class="indent">
�� ����ڰ� wrapper�� �����ϵ��� ���Ǿ���? ����
�� �����(����ġ �����)���� �� ���α��� ������
�� �ִ�.
</p>
</li>
<li>
<strong>������ ���α��� ������������ ���������� �����°�?</strong>
<p class="indent">
������ ���α��� '/'�� �����ϰų� ������ '..'�� �����°�?
�̵��� ����� �� ����. ������ ���α��� ����ġ ����������
�־�� �Ѵ�.
</p>
</li>
<li>
<strong>������ ����ڸ��� ��ȿ�Ѱ�?</strong>
<p class="indent">
������ ����ڰ� �����ϴ°�?
</p>
</li>
<li>
<strong>������ ����� ��ȿ�Ѱ�?</strong>
<p class="indent">
������ ���� �����ϴ°�?
</p>
</li>
<li>
<strong>������ ����ڰ� superuser�� <em>�ƴѰ�</em>?</strong>
<p class="indent">
���� suEXEC�� 'root'�� CGI/SSI ����� ������ ��
������ �Ѵ�.
</p>
</li>
<li>
<strong>������ userid�� �ּ� ID ���ں��� <em>ū��</em>?</strong>
<p class="indent">
�������� �ּ� ����� ID ���ڸ� �����Ѵ�. ���� CGI/SSI
���α��� ������ �� �ִ� userid�� �ּ�ġ�� ������
�� �ִ�. "�ý��ۿ�" ������ �����Ҷ� �����ϴ�.
</p>
</li>
<li>
<strong>������ ���� superuser ���� <em>�ƴѰ�</em>?</strong>
<p class="indent">
���� suEXEC�� 'root' ���� CGI/SSI ����� ������
�� ������ �Ѵ�.
</p>
</li>
<li>
<strong>������ groupid�� �ּ� ID ���ں��� <em>ū��</em>?</strong>
<p class="indent">
�������� �ּ� �� ID ���ڸ� �����Ѵ�. ���� CGI/SSI
���α��� ������ �� �ִ� groupid�� �ּ�ġ�� ������
�� �ִ�. "�ý��ۿ�" ���� �����Ҷ� �����ϴ�.
</p>
</li>
<li>
<strong>wrapper�� ���������� ������ ����ڿ� ����
�� �� �ִ°�?</strong>
<p class="indent">
�� �ܰ迡�� ���α��� setuid�� setgid ȣ���� �Ͽ�
������ ����ڿ� ���� �ȴ�. ��, �� ���ٸ����
����ڰ� �ش�� ��� ������ �ʱ�ȭ�ȴ�.
</p>
</li>
<li>
<strong>���α��� �ִ� ���丮�� �����ϳ�?</strong>
<p class="indent">
�������� �ʴٸ� ������ ���� �� ����.
</p>
</li>
<li>
<strong>���丮�� ����ġ ������ �ȿ� �ִ°�?</strong>
<p class="indent">
������ �Ϲ����� �κ��� ��û�� ��� ��û�ϴ� ���丮��
������ ���� root �Ʒ� �ִ°�? UserDir�� ��û�� ���
��û�ϴ� ���丮�� ����� ���� root �Ʒ� �ִ°�?
</p>
</li>
<li>
<strong>�ٸ� ������ ���丮�� ��������� <em>���°�</em>?</strong>
<p class="indent">
���丮�� �ٸ� ������� ����α� �������ʴ´�. ����
�����ڸ��� ���丮 ������ ������ �� �ִ�.
</p>
</li>
<li>
<strong>������ ���α��� �����ϴ°�?</strong>
<p class="indent">
���������ʴٸ� ������ ���� ����.
</p>
</li>
<li>
<strong>�ٸ� ������ ������ ���α��� ���������
<em>���°�</em>?</strong>
<p class="indent">
�����ڿ� ������ ���α��� �����ϱ� �������ʴ´�.
</p>
</li>
<li>
<strong>������ ���α��� setuid�� setgid�� <em>�ƴѰ�</em>?</strong>
<p class="indent">
�츮�� ���α��� �ٽ� UID/GID�� �����ϱ� �������ʴ´�.
</p>
</li>
<li>
<strong>������ �����/���� ����� �����/��� ������?</strong>
<p class="indent">
����ڰ� ������ �������ΰ�?
</p>
</li>
<li>
<strong>������ ������ ���� ���μ����� ȯ�溯���� û����
�� �ִ°�?</strong>
<p class="indent">
suEXEC�� (�������� ������) ������ ���� PATH�� ���,
(�̰͵� �������� ����) ������ ȯ�溯�� ��Ͽ� ���ŵ�
������ ����� ���μ����� ȯ�溯���� �����.
</p>
</li>
<li>
<strong>���������� ������ ���α��� ������ �� �ִ°�?</strong>
<p class="indent">
���⼭ suEXEC�� ������ ������ ���α��� �����Ѵ�.
</p>
</li>
</ol>
<p>�̰��� suEXEC wrapper ���ȸ��� ǥ�� �����̴�. �ټ�
�����ϰ� CGI/SSI ���迡 ���ο� ������ ������, ������ ���ο�
�ΰ� �Ѵܰ辿 ���ɽ����� ���������.</p>
<p>�� ���� ���� ���� ������ � ������ �ִ����� ������
suEXEC �������� � ���� ������ ���� �� �ִ����� ���� ��
������ <a href="#jabberwock">"�ٽ� �ѹ� �����϶�"</a> ����
�����϶�.</p>
</section>
<section id="install"><title>suEXEC ������ ��ġ</title>
<p>���� ����ִ� ������ �����Ѵ�.</p>
<p><strong>suEXEC ���� �ɼ�</strong><br />
</p>
<dl>
<dt><code>--enable-suexec</code></dt>
<dd>�� �ɼ��� �⺻������ ��ġ�ǰų� Ȱ��ȭ�����ʴ� suEXEC
����� Ȱ��ȭ�Ѵ�. APACI�� suEXEC�� �Ƶ��̷���
--enable-suexec �ɼǿܿ� --with-suexec-xxxxx �ɼ��� �ּ���
�Ѱ� �ʿ��ϴ�.</dd>
<dt><code>--with-suexec-bin=<em>PATH</em></code></dt>
<dd>suexec ���̳ʸ� ��δ� ���Ȼ� ������ ������ ��ϵǾ�
�Ѵ�. ��� �⺻���� �����Ϸ��� �� �ɼ��� ����Ѵ�. <em>����
���</em> <code>--with-suexec-bin=/usr/sbin/suexec</code></dd>
<dt><code>--with-suexec-caller=<em>UID</em></code></dt>
<dd>���� ����ġ�� �����ϴ� <a
href="mod/mpm_common.html#user">����ڸ�</a>. ���α���
������ �� �ִ� ������ ����ڴ�.</dd>
<dt><code>--with-suexec-userdir=<em>DIR</em></code></dt>
<dd>suEXEC ������ ���Ǵ� ����� Ȩ���丮�� �������丮��
�����Ѵ�. �� ���丮�� �ִ� ��� ���������� �������
suEXEC�� ����Ƿ�, ��� ���α��� "�����ؾ�" �Ѵ�. (����
���, ���� "*"�� ����) "������" UserDir ���þ ����Ѵٸ�
���� ���� �����ؾ� �Ѵ�. UserDir ���þ passwd ���Ͽ�
���� ����� Ȩ���丮�� �ٸ��� suEXEC�� ����������
�۵����� �ʴ´�. �⺻���� "public_html"�̴�.<br />
����ȣ��Ʈ���� ���� �ٸ� UserDir�� ����Ѵٸ� ��� ��
�θ� ���丮 �ȿ� �ֵ��� �����ؾ� �ϰ�, �� �θ� ���丮����
���� ���´�. <strong>�̷��� �������� ������, "~userdir"
cgi ��û�� �۵����� �ʴ´�!</strong></dd>
<dt><code>--with-suexec-docroot=<em>DIR</em></code></dt>
<dd>����ġ�� DocumentRoot�� �����Ѵ�. �̴� suEXEC�� �����
�� �ִ� (UserDirs�� ������) ������ �����̴�. �⺻ ���丮��
--datadir ���� "/htdocs"�� ���� ���̴�. <em>���� ���</em>
"<code>--datadir=/home/apache</code>"�� �����ߴٸ� suEXEC
wrapper�� document root�� "/home/apache/htdocs" ���丮��
����Ѵ�.</dd>
<dt><code>--with-suexec-uidmin=<em>UID</em></code></dt>
<dd>suEXEC���� ���������� ������� �ּ� UID�� �����Ѵ�.
��κ��� �ý��ۿ��� 500�̳� 100�� �����ϴ�. �⺻����
100�̴�.</dd>
<dt><code>--with-suexec-gidmin=<em>GID</em></code></dt>
<dd>suEXEC���� ���������� ���� �ּ� GID�� �����Ѵ�.
��κ��� �ý��ۿ��� 100�� �����ϹǷ� �� ���� �⺻���̴�.</dd>
<dt><code>--with-suexec-logfile=<em>FILE</em></code></dt>
<dd>��� suEXEC �۵��� ������ (���ó� ����� ������ ������)
����� �α����ϸ��� �����Ѵ�. �⺻������ �α������� �̸���
"suexec_log"�̰� ǥ�� �α����� ���丮�� (--logfiledir)
��ġ�Ѵ�.</dd>
<dt><code>--with-suexec-safepath=<em>PATH</em></code></dt>
<dd>CGI �������Ͽ� �Ѱ��� ������ PATH ȯ�溯���� �����Ѵ�.
�⺻���� "/usr/local/bin:/usr/bin:/bin"�̴�.</dd>
</dl>
<p><strong>suEXEC ������ �����϶�</strong><br />
suEXEC wrapper�� �������ϰ� ��ġ�ϱ� ���� --layout �ɼ���
����Ͽ� ������ ������ �� �ִ�.<br />
��¿�:</p>
<example>
suEXEC setup:<br />
suexec binary: /usr/local/apache/sbin/suexec<br />
document root: /usr/local/apache/share/htdocs<br />
userdir suffix: public_html<br />
logfile: /usr/local/apache/var/log/suexec_log<br />
safe path: /usr/local/bin:/usr/bin:/bin<br />
caller ID: www<br />
minimum user ID: 100<br />
minimum group ID: 100<br />
</example>
<p><strong>suEXEC wrapper�� �������ϰ� ��ġ�ϱ�</strong><br />
--enable-suexec �ɼ����� suEXEC ����� �����ϰ��� ���
"make" ���ɾ �����ϸ� suexec ���������� (����ġ�� �Բ�)
�ڵ����� ���������.<br />
������ �������� �� "make install" ���ɾ �����Ͽ� ��ġ��
�� �ִ�. ���̳ʸ����� "suexec"�� --sbindir �ɼ����� ������
���丮�� ��ġ�ȴ�. �⺻ ��ġ��
"/usr/local/apache/sbin/suexec"�̴�.<br />
��ġ ������ <strong><em>root ����</em></strong>�� �ʿ�����
�����϶�. wrapper�� ����� ID�� �����ϱ����ؼ��� �����ڰ�
<code><em>root</em></code>�̰� ���ϸ��� setuserid �����Ʈ��
�����Ǿ� �Ѵ�.</p>
</section>
<section id="enable"><title>suEXEC �� ����</title>
<p>����ġ�� �����Ҷ� "sbin" ���丮���� "suexec" ������
(�⺻�� "/usr/local/apache/sbin/suexec") ã�´�. ����ġ��
���������� ������ suEXEC wrapper�� �߰��ϸ� error log��
������ ���� ����Ѵ�:</p>
<example>
[notice] suEXEC mechanism enabled (wrapper: <em>/path/to/suexec</em>)
</example>
<p>���� �����߿� �̷� ������ ���ٸ� ������ ����� ��ҿ���
wrapper ���α��� ã�� ���߰ų�, ���������� <em>setuid
root</em>�� ��ġ�����ʾұ� ������ ���̴�.</p>
<p>ó������ suEXEC ����� ����ϰ� �Ͱ� �̹� ����ġ ������
�������̶��, ����ġ�� ���̰� �ٽ� �����ؾ� �Ѵ�. ������
HUP�̳� USR1 �ñ׳η� ������ϴ� �����δ� ������� �ʴ�. </p>
<p>suEXEC�� �Ȼ���Ϸ��� "suexec" ������ ������ ����ġ��
���̰� ������ؾ� �Ѵ�. </p>
</section>
<section id="usage"><title>suEXEC ����ϱ�</title>
<p><strong>����ȣ��Ʈ:</strong><br /> suEXEC wrapper��
����ϴ� �Ѱ��� ����� <directive
module="core">VirtualHost</directive> ���ǿ� <directive
module="mod_suexec">SuexecUserGroup</directive> ���þ
����ϴ� ���̴�. �� ���þ �ּ��� ����� ID�� �ٸ���
�����ϸ� CGI �ڿ��� ��� ��û�� <directive
module="core" type="section">VirtualHost</directive>����
������ <em>User</em>�� <em>Group</em>���� ����ȴ�. ��
���þ���� <directive module="core"
type="section">VirtualHost</directive>�� ������ �ּ���
userid�� ����Ѵ�.</p>
<p><strong>����� ���丮:</strong><br />
suEXEC wrapper�� CGI ���α��� ��û�� ���� ����ڰ� �����ϵ���
�� �� �ִ�. �̸� ���� �����ϱ� ���ϴ� ����� ID �տ�
"<strong><code>~</code></strong>" ���ڸ� ���̸� �ȴ�. ������
���� �ش� ����ڴ� CGI�� ������ �� �־�� �ϰ�, ��ũ��Ʈ��
���� <a href="#model">���� �˻�</a> ���� �����ؾ� �Ѵ�.</p>
</section>
<section id="debug"><title>suEXEC ������ϱ�</title>
<p>suEXEC wrapper�� �α� ������ ������ �ٷ� --with-suexec-logfile
�ɼ����� ������ ���Ͽ� ����. wrapper�� �ùٷ� �����ϰ� ��ġ�ߴٸ�
��� �߸��Ǿ����� �� �α����Ͽ� ������ error_log�� �������.</p>
</section>
<section id="jabberwock"><title>�ٽ� �ѹ� �����϶�: ����� ����</title>
<p><strong>����!</strong> �� ������ �������� ���� �� �ִ�.
����ġ���� <a
href="http://httpd.apache.org/docs-2.1/suexec.html">�¶���
����</a>���� �� ������ �ֽ����� �����϶�.</p>
<p>wrapper�� ���� ������ �����ϴ� ��� ��̷ο� ���� �ִ�.
suEXEC�� ���õ� "����"�� �����ϱ� ���� �̵��� ���캸�� �ٶ���.</p>
<ul>
<li><strong>suEXEC ���� ����</strong></li>
<li>
���丮 ���� ����
<p class="indent">
���Ȱ� ȿ������ ���� ��� suexec ��û�� ����ȣ��Ʈ��
��� �ֻ��� document root Ȥ�� userdir ��û�� ���
�ֻ��� ���� document root �ȿ��� ���ؾ� �Ѵ�. ����
���, ����ȣ��Ʈ �װ��� �����ߴٸ� ����ȣ��Ʈ����
suEXEC�� �̿��ϱ����� ����ȣ��Ʈ�� document root��
�� ����ġ ���� �������� �ۿ� ������ �ʿ䰡 �ִ�.
(������ ������.)
</p>
</li>
<li>
suEXEC�� PATH ȯ�溯��
<p class="indent">
�����ϸ� ������ �� �ִ�. ��� �����ϴ� ��� ��ΰ�
<strong>���� �� �ִ�</strong> ���丮���� Ȯ���϶�.
�� �������� �������� �װ��� �ִ� Ʈ���̸� �����ϱ�
������ ���� ���̴�.
</p>
</li>
<li>
suEXEC �ڵ� �����ϱ�
<p class="indent">
�ݺ��ؼ� ��������, ����� ������ �ϴ��� �� �õ��Ѵٸ�
<strong>ū ����</strong>�� ���� �� �ִ�. � ��쿡��
������������.
</p>
</li>
</ul>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/upgrading.xml.ko
Index: upgrading.xml.ko
===================================================================
<?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.11 -->
<manualpage metafile="upgrading.xml.meta">
<title>1.3���� 2.0���� �����̵�</title>
<summary>
<p>�츮�� ���� ����ġ ����ڰ� �����̵��ϴ� ���� ��������
�߿��� ������ �˷��ִ� ������ �����Ѵ�. �� ������ ������
����̹Ƿ�, <a href="new_features_2_0.html">���ο� ���</a>
������ <code>src/CHANGES</code> ���Ͽ��� ������ ã�ƺ���
�Ѵ�.</p>
</summary>
<seealso><a href="new_features_2_0.html">����ġ 2.0�� ���ο�
��� ���</a></seealso>
<section id="compile-time">
<title>�����Ͻ� ���� ��ȭ</title>
<ul>
<li>����ġ�� ���� <a
href="install.html">����ġ �����ϰ� ��ġ</a>�� ����
<code>autoconf</code>�� <code>libtool</code> �ý�����
����Ѵ�. �� �ý����� ������ Apache 1.3�� APACI �ý��۰�
������ ������ ����ϴ�.</li>
<li>������ ���θ� ������ ���ܿ� Apache 2.0�� ��û��
ó���ϴ� �ֿ� �κ��� <a href="mpm.html">����ó�� ���
(Multi-Processing Modules)</a> (MPM)�� ���.</li>
</ul>
</section>
<section id="run-time">
<title>����� ���� ��ȭ</title>
<ul>
<li>Apache 1.3���� ���� �ٽɿ� �־��� ���� ���þ����
������ MPM�� �ִ�. ������ Apache 1.3�� �ִ��� ����ϰ�
�����ϱ� �ٶ��ٸ� <module>prefork</module> MPM�� �����ؾ�
�Ѵ�. �ٸ� MPM�� �ٸ� ���þ ����Ͽ� ���μ��� ������
��û�� ó���� �����Ѵ�.</li>
<li><a href="mod/mod_proxy.html">proxy ���</a>�� HTTP/1.1��
���߾� �����Ǿ���. �߿��� ��ȭ�� �ϳ��� ���� ���Ͻ� �������
<code><Directory proxy:></code> ������ �ƴ϶�
<directive type="section" module="mod_proxy">Proxy</directive>
���Ͽ� ��ġ�ϴ� ���̴�.</li>
<li>��� ���� <code>PATH_INFO</code> (��¥ ��θ�
�ڿ� ������ ��� ����) ó�� ����� ����Ǿ���. ����
�ڵ鷯������ ���� ���ͷ� �����Ǵ� ����� �� �̻�
<code>PATH_INFO</code>�� �ִ� ��û�� �Ƶ����� ���Ѵ�.
<a href="mod/mod_include.html">INCLUDES</a>�� <a
href="http://www.php.net/">PHP</a>�� ���� ���ʹ�
core �ڵ鷯 ���� �����DZ���� <code>PATH_INFO</code>��
�ִ� ��û�� �ź��Ѵ�. core �ڵ鷯�� <code>PATH_INFO</code>��
�ִ� ��û�� �Ƶ��̰� server-side include����
<code>PATH_INFO</code>�� ����ϰ� �Ϸ���, <directive
module="core">AcceptPathInfo</directive> ���þ ����ؾ�
�Ѵ�.</li>
<li><directive module="mod_negotiation">CacheNegotiatedDocs</directive>
���þ�� ���� �ƱԸ�Ʈ�� <code>on</code>�� <code>off</code>��
�´�. ������ <directive>CacheNegotiatedDocs</directive>��
<code>CacheNegotiatedDocs on</code>���� �����ؾ� �Ѵ�.</li>
<li>
<directive module="core">ErrorDocument</directive> ���þ��
���̻� ������ ��Ÿ���� �ƱԸ�Ʈ �տ� ����ǥ�� �������
�ʴ´�. ��� �ֵ���ǥ�� ������ ����� �Ѵ�. ���� ��� ����
<example>
ErrorDocument 403 "Some Message
</example>
�� ������ ���� �����ؾ� �Ѵ�.
<example>
ErrorDocument 403 "Some Message"
</example>
�ι�° �ƱԸ�Ʈ�� ��ȿ�� URL�̳� ��θ��� �ƴ϶�� ������
�����Ѵ�.
</li>
<li><code>AccessConfig</code>�� <code>ResourceConfig</code>
���þ�� �������. ������ ����ϴ� ���þ�� ���� �����
�ϴ� <directive module="core">Include</directive> ���þ��
��ü�� �� �ִ�. ���ſ� �������Ͽ��� �� ���þ���� ��������ʰ�
�� ���þ���� �⺻���� ����ߴٸ�, <code>http.conf</code>��
<code>Include conf/access.conf</code>�� <code>Include
conf/srm.conf</code>�� �߰��� �ʿ䰡 �ִ�. ����ġ�� ����
���þ�� ���� ������ ���������� �а��Ϸ���
<directive module="core">Include</directive> ���þ
<code>httpd.conf</code> ���� �ΰ�, <code>srm.conf</code>��
<code>access.conf</code> �տ� ���;� �Ѵ�.</li>
<li><code>BindAddress</code>�� <code>Port</code> ���þ��
�������. �� ������ <directive module="mpm_common">Listen</directive>
���þ ���� ����� �Ѵ�.</li>
<li>Apache-1.3���� <code>Port</code>�� �ڱ�����
URL�� ��Ʈ ��ȣ�� �����ϴ� �ϵ� �ߴ�. Apache-2.0���� ��
����� ���ο� <directive module="core">ServerName</directive>����
�Ѵ�. �� ���þ ȣ��Ʈ��<em>��</em> �ڱ����� URL�� ����
��Ʈ ��ȣ�� ���� ������ �� �ִ�.</li>
<li><code>ServerType</code> ���þ�� �������. ��û��
�����ϴ� ����� ���� MPM ���ÿ� �ȴ�. ���� inetd����
�����ϵ��� ����� MPM�� ����.</li>
<li><code>AgentLog</code>, <code>RefererLog</code>,
<code>RefererIgnore</code> ���þ ������
<code>mod_log_agent</code>�� <code>mod_log_referer</code>
����� ��������. agent �α� referer �α״�
<module>mod_log_config</module>�� <directive
module="mod_log_config">CustomLog</directive> ���þ
����Ͽ� ��� �����ȴ�.</li>
<li><code>AddModule</code>�� <code>ClearModuleList</code>
���þ�� �������. �� ���þ���� ����� �ùٸ� ������
Ȱ��ȭ�Ϸ��� ����ߴ�. ���ο� Apache 2.0 API�� �����
Ȱ��ȭ�Ǵ� ������ ���������� ������ �� �־, �� ���þ����
�ʿ���� �Ǿ���.</li>
<li><code>FancyIndexing</code> ���þ ��������.
<directive module="mod_autoindex">IndexOptions</directive>
���þ��� <code>FancyIndexing</code> �ɼ��� ���� ����� �Ѵ�.</li>
<li><module>mod_negotiation</module>�� MultiViews ����������
�� �����ϰ� �⺻������ ã�´�. ���������� <em>������</em>
���� �߿����� �����Ѵ�. <directive
module="mod_mime">MultiviewsMatch</directive> ���þ
����Ͽ� ������ ���� �����ϰ� �� �� �ִ�.</li>
</ul>
</section>
<section id="misc">
<title>��Ÿ ��ȭ</title>
<ul>
<li>Apache 1.3���� �������̿��� <module>mod_auth_digest</module>
����� ���� ǥ�� ����� �Ǿ���.</li>
<li>Apache 1.3���� �������̿��� <code>mod_mmap_static</code>
����� <module>mod_file_cache</module>�� ��ü�Ǿ���.</li>
<li>�������� ������ ���� �����Ǿ� ���̻� ������ <code>src</code>
���丮�� ����. ��� �ҽ��� �� ������ ���丮 �Ʒ� ����������
�������ְ�, �������� ������ �ٸ� ���丮�� ��ġ�ȴ�.</li>
</ul>
</section>
<section id="third-party">
<title>�����ڰ� ���� ���</title>
<p>Apache 2.0���� ���� API�� ���� ����Ǿ���. Apache 1.3 API��
������ ���� ����� �������� Apache 2.0���� ����� ��
<strong>����</strong>. �ڼ��� ������ <a href="developer/">������
����</a>�� �����϶�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/urlmapping.xml.ko
Index: urlmapping.xml.ko
===================================================================
<?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.8 -->
<manualpage metafile="urlmapping.xml.meta">
<title>URL�� ���Ͻý��� ��ġ�� �����ϱ�</title>
<summary>
<p>�� ������ ��û�� URL�� ������ ����ġ�� ��� ������
������ ���Ͻý��ۻ� ��ġ�� ã���� �����Ѵ�.</p>
</summary>
<section id="related"><title>���õ� ���� ���þ��</title>
<related>
<modulelist>
<module>mod_alias</module>
<module>mod_proxy</module>
<module>mod_rewrite</module>
<module>mod_userdir</module>
<module>mod_speling</module>
<module>mod_vhost_alias</module>
</modulelist>
<directivelist>
<directive module="mod_alias">Alias</directive>
<directive module="mod_alias">AliasMatch</directive>
<directive module="mod_speling">CheckSpelling</directive>
<directive module="core">DocumentRoot</directive>
<directive module="core">ErrorDocument</directive>
<directive module="core">Options</directive>
<directive module="mod_proxy">ProxyPass</directive>
<directive module="mod_proxy">ProxyPassReverse</directive>
<directive module="mod_alias">Redirect</directive>
<directive module="mod_alias">RedirectMatch</directive>
<directive module="mod_rewrite">RewriteCond</directive>
<directive module="mod_rewrite">RewriteMatch</directive>
<directive module="mod_alias">ScriptAlias</directive>
<directive module="mod_alias">ScriptAliasMatch</directive>
<directive module="mod_userdir">UserDir</directive>
</directivelist>
</related>
</section>
<section id="documentroot"><title>DocumentRoot</title>
<p>��û�� ���� ����ġ�� � ������ �������� �����ϱ�����
�⺻������ ��û�� URL-���(URL���� ȣ��Ʈ���� ��Ʈ �ڿ�
������ �κ�)�� �������Ͽ��� ������ <directive
module="core">DocumentRoot</directive> �ڿ� ���δ�. ����
<directive module="core">DocumentRoot</directive> �Ʒ��ִ�
���ϰ� ���丮���� ������ ���Ե� �⺻���� �����̴�.</p>
</section>
<section id="outside"><title>DocumentRoot �ۿ� �ִ� ���ϵ�</title>
<p>���� ���Ͻý��ۿ��� <directive
module="core">DocumentRoot</directive> �Ʒ� �������� �κ���
������ ������ �ʿ䰡 �ִ�. ����ġ�� �� ��� �������� �����
����� �� �ִ�. ���н� �ý��ۿ��� �ɺ���ũ�� ����Ͽ�
���Ͻý����� �ٸ� �κ��� <directive
module="core">DocumentRoot</directive> �Ʒ��� �� �� �ִ�.
������ ���� ����ġ�� �ش� ���丮�� <directive
module="core">Options</directive> ������
<code>FollowSymLinks</code>��
<code>SymLinksIfOwnerMatch</code>�� �ִ� ��쿡�� �ɺ���ũ��
����.</p>
<p>��, <directive module="mod_alias">Alias</directive>
���þ�� ���Ͻý����� Ư�� �κ��� �������� �����Ѵ�. ����
��� ������ ���ٸ�</p>
<example>Alias /docs /var/web</example>
<p>URL <code>http://www.example.com/docs/dir/file.html</code>��
<code>/var/web/dir/file.html</code>�� ������ �����Ѵ�.
������ ��ο� �ִ� ��� ������ CGI ��ũ��Ʈ�� ����ϴ� ����
�����ϰ��� <directive module="mod_alias">ScriptAlias</directive>
���þ ���� ���� �Ѵ�.</p>
<p><directive module="mod_alias">AliasMatch</directive>��
<directive module="mod_alias">ScriptAliasMatch</directive>
���þ��� ������ ����ǥ���ı�� ������ ��ġ�� ����Ͽ� ��
������ ������ �����ϴ�. ���� ���,</p>
<example>ScriptAliasMatch ^/~([a-zA-Z0-9]*)/cgi-bin/(.*)
/home/$1/cgi-bin/$2</example>
<p>�� <code>http://example.com/~user/cgi-bin/script.cgi</code>����
��û�� ��� <code>/home/user/cgi-bin/script.cgi</code>��
�����ϰ�, �ش� ������ CGI ��ũ��Ʈ�� ����Ѵ�.</p>
</section>
<section id="user"><title>����� ���丮</title>
<p>���н� �ý����� ���������� Ư�� ����� <em>user</em>��
Ȩ���丮�� <code>~user/</code>�� ��Ī�Ѵ�.
<module>mod_userdir</module> ����� �� ������ ��������
Ȯ���Ͽ�, ������ ���� URL�� ������ �� ����� Ȩ���丮
�ȿ� �ִ� ������ �����Ѵ�.</p>
<example>http://www.example.com/~user/file.html</example>
<p>���Ȼ� ������ ����� Ȩ���丮�� ���� ������ �� ������
�ȵȴ�. ���� <directive module="mod_userdir">UserDir</directive>
���þ�� ����� Ȩ���丮���� ���� ���ϵ��� ���� ���丮��
�����Ѵ�. �⺻ ���� <code>Userdir public_html</code>�� ����ϰ�
<code>/home/user/</code>�� <code>/etc/passwd</code>�� ������
����� Ȩ���丮���, ���� URL�� ����
<code>/home/user/public_html/file.html</code>�� �����Ѵ�.</p>
<p>��, <code>Userdir</code> ���þ�� <code>/etc/passwd</code>��
Ȩ���丮�� ��ġ�� ��������ʴ� �ý����� ���� ���� �ٸ�
���¸� ����� �� �ִ�.</p>
<p>� ����� (���� ������ <code>%7e</code>�� ���ڵ��Ǵ�)
"~" ��ȣ�� �̻��Ͽ� �ٸ� ������� ����� ���丮�� ��Ÿ����
�;��Ѵ�. �� ����� mod_userdir�� ���������ʴ´�. ����
����� Ȩ���丮�� ��Ģ���� ������� �������ִٸ�, <directive
module="mod_alias">AliasMatch</directive> ���þ ����Ͽ�
���ϴ� ȿ���� ���� �� �ִ�. ���� ���, ������
<code>AliasMatch</code> ���þ ����ϸ�
<code>http://www.example.com/upages/user/file.html</code>��
<code>/home/user/public_html/file.html</code>�� �����Ѵ�:</p>
<example>AliasMatch ^/upages/([a-zA-Z0-9]*)/?(.*)
/home/$1/public_html/$2</example>
</section>
<section id="redirect"><title>URL �����̷���(Redirection)</title>
<p>�տ��� ������ ���� ���þ���� ����ġ�� ���Ͻý����� Ư��
��ҿ� �ִ� ������ Ŭ���̾�Ʈ���� ������ �����. ����
������ ��û�� ������ �ٸ� URL�� �ִٰ� Ŭ���̾�Ʈ���� �˷��־�,
Ŭ���̾�Ʈ�� ���� �� URL�� ��û�ϵ��� ����� ���� ���� ����
�ִ�. �̸� <em>�����̷���(redirection)</em>�̶�� �ϸ�,
<directive module="mod_alias">Redirect</directive> ���þ
����Ѵ�. ���� ���, <directive
module="core">DocumentRoot</directive> �Ʒ� <code>/foo/</code>
���丮�� ������ ���� <code>/bar/</code> ���丮�� �Ű�ٸ�
������ ���� Ŭ���̾�Ʈ�� ���ο� ��ġ�� ��û�ϵ��� �Ѵ�:</p>
<example>Redirect permanent /foo/
http://www.example.com/bar/</example>
<p>���� <code>www.example.com</code> ������ <code>/foo/</code>��
�����ϴ� URL-��δ� <code>/foo/</code>�� <code>/bar/</code>��
�ٲ� URL�� �����̷��ǵȴ�. Ŭ���̾�Ʈ�� ���� �����ܿ� �
�ٸ� �����ε� �����̷����� �� �ִ�.</p>
<p>��, ����ġ�� �� ������ ���ۼ� ������ ����
<directive module="mod_alias">RedirectMatch</directive>
���þ �����Ѵ�. ���� ���, �ٸ� ��û�� �״�� �ΰ� ����Ʈ
Ȩ�������� ���� ��û���� �ٸ� ����Ʈ�� �����̷����Ϸ���:</p>
<example>RedirectMatch permanent ^/$
http://www.example.com/startpage.html</example>
<p>�ӽ÷� ����Ʈ�� ��� �������� �ٸ� ����Ʈ�� Ư�� ��������
�����̷����Ϸ���:</p>
<example>RedirectMatch temp .*
http://othersite.example.com/startpage.html</example>
</section>
<section id="proxy"><title>�����Ͻ�(Reverse Proxy)</title>
<p>����ġ�� �ٸ� ������ �ִ� ������ ������ URL �������� ������
�� �ִ�. �� ��� �������� ���� �������� ������ �����ͼ�
Ŭ���̾�Ʈ���� �����ϴ� ���Ͻ� ������ ���� �����ϱ���� �̷�
����� <em>�����Ͻ�(reverse proxying)</em>��� �Ѵ�. Ŭ���̾�Ʈ��
���忡�� �����Ͻ� ������ ������ �����ִ� ��ó�� ���̹Ƿ� �Ϲ�
���Ͻÿʹ� �ٸ���.</p>
<p>�Ʒ� �������� Ŭ���̾�Ʈ�� <code>/foo/</code>�� �ִ� ������
��û�ϸ�, ������ <code>internal.example.com</code>��
<code>/bar/</code> ���丮���� ������ �����ͼ� ������ ��ġ
������ �־��� ��ó�� Ŭ���̾�Ʈ���� ������.</p>
<example>
ProxyPass /foo/ http://internal.example.com/bar/<br />
ProxyPassReverse /foo/ http://internal.example.com/bar/
</example>
<p><directive module="mod_proxy">ProxyPass</directive>�� ������
������ ������ ���������� �����ϸ�, <directive
module="mod_proxy">ProxyPassReverse</directive> ���þ��
<code>internal.example.com</code>�� ������ �����̷����� ���ۼ��Ͽ�
�����̷����� ���� ������ ������ ���丮�� ����Ű���� �Ѵ�.
���� ���� �ȿ� �ִ� ��ũ�� ���ۼ����� ������ �����϶�.
<code>internal.example.com</code>�� ���� ���븵ũ�� Ŭ���̾�Ʈ��
���Ͻü����� �ƴ϶� <code>internal.example.com</code>���� ����
��û�ϰ� �Ѵ�.</p>
</section>
<section id="rewrite"><title>���ۼ� ���� (Rewriting Engine)</title>
<p>�� ������ ġȯ�� �ʿ��Ҷ� <module>mod_rewrite</module>��
���ۼ� ������ ������ �ȴ�. �� ����� ���þ�� ������ ������
Ŭ���̾�Ʈ�� IP �ּ� �� ��û�� Ư¡�� ������ ��� �ִ�
������ �������� ������ �� �ִ�. ��, mod_rewrite�� ��û��
��� ó������ �����ϱ����� �ܺ� �����ͺ��̽� �����̳�
���α��� ����� �� �ִ�. ���ۼ� ������ ������ �ٷ� ��
���� ����, ��, ���� �����̷��� (alias), �ܺ� �����̷���,
���Ͻ�, ��θ� �����Ѵ�. mod_rewrite�� ����ϴ� ���� ����
<a href="misc/rewriteguide.html">URL ���ۼ� ��ħ��</a>����
�����Ѵ�.</p>
</section>
<section id="notfound"><title>File Not Found</title>
<p>�ᱹ ��û�� URL�� �����ϴ� ������ ���Ͻý��ۿ��� ã��
���� ����̴�. ���� ���� ������ �ִ�. � ��� ������
�ٸ� ������ �Ű�� ������ �� �ִ�. �� ��� Ŭ���̾�Ʈ����
<a href="#redirect">URL �����̷���</a>���� �ڿ��� ���ο�
��ġ�� �˷��ִ� ����� ���� ����. ���� �ڿ��� �Űܵ�
������ �ϸ�ũ�� ��ũ�� ��� ��ȿ�ϴ�.</p>
<p>"File Not Found" ������ �ٸ� �Ϲ����� ������ ��������
���� Ȥ�� HTML ��ũ�� URL�� �߸� �Էµ� ����̴�. ����ġ��
<module>mod_speling</module> (������� Ʋ���� �ʾ���) ����
�̿� ���� ������ ���´�. �� ����� ����ϸ� "File Not Found"
������ ���ϴ� ��� ����� ���ϸ��� ���� �ڿ��� ã�´�.
���� �߰��ϸ� mod_speling�� Ŭ���̾�Ʈ�� �ùٸ� ��ġ��
HTTP �����̷����Ѵ�. "�����" ������ ������ �ִٸ�
Ŭ���̾�Ʈ���� ����� ������.</p>
<p>mod_speling�� Ư�� ������ ������ ��ҹ��ڸ� ���������ʰ�
���ϸ��� ���ϴ� ����̴�. ���� ���н� ���Ͻý��۰� URL��
��ҹ��� ������ �������ϴ� ����ڰ� �ִ� �ý��ۿ� ������
�ȴ�. ���� mod_speling�� ���� URL�� ���ľ��Ѵٸ�, "�߸���"
��û������ URL �����̷��ǰ� Ŭ���̾�Ʈ�� ���ο� ��û��
�Ͼ�Ƿ� ������ �δ��� �ȴ�.</p>
<p>ã�� �õ��� ��� �����ϸ� ����ġ�� HTTP status code 404
(file not found) ������������ ������. �� �������� ������
<directive module="core">ErrorDocument</directive> ���þ��
�����ϸ�, <a href="custom-error.html">��������� ���� ����</a>
������ �����Ͽ� ����������� �� �ִ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/style/lang/ko.xml
Index: ko.xml
===================================================================
<?xml version="1.0" encoding="EUC-KR"?>
<!-- English revision: 1.11 -->
<!DOCTYPE messages [ <!ENTITY nbsp " "> ]>
<!-- -->
<!-- Language: Korean -->
<!-- -->
<!-- Some strings might be used in other contexts, than stated in the -->
<!-- comments... -->
<messages lang="ko">
<!-- Used for the moduleindex -->
<message name="corefeatures">�ٽ� ��ɰ� ����ó�� ���</message>
<message name="othermodules">�ٸ� ���</message>
<message name="obsoletemodules">���� ���</message>
<!-- Used for the modulesynopsis and sitemap -->
<message name="obsoleteapachemodule">���� ����ġ ���</message>
<message name="apachemodule">����ġ ���</message>
<message name="apachecore">����ġ �ٽ� ���</message>
<message name="apachempmcommon">����ġ MPM ���� ���þ�</message>
<message name="apachempm">����ġ MPM</message>
<!-- Used in description box for modulesynopsis -->
<message name="description">����</message>
<message name="seealso">����</message>
<message name="topics">����</message>
<message name="status">����</message>
<message name="moduleidentifier">����</message>
<message name="sourcefile">�ҽ�����</message>
<message name="compatibility">����</message>
<!-- Used in manualpage -->
<message name="relatedmodules">���õ� ���</message>
<message name="relateddirectives">���õ� ���þ�</message>
<!-- Used in description box for directives -->
<message name="syntax">����</message>
<message name="default">�⺻��</message>
<message name="context">������</message>
<message name="override">Override �ɼ�</message>
<message name="status">����</message>
<message name="module">���</message>
<!-- Used in directive context lists -->
<message name="serverconfig">�ּ�������</message>
<message name="virtualhost">����ȣ��Ʈ</message>
<message name="directory">directory</message>
<message name="htaccess">.htaccess</message>
<!-- Used for directive lists -->
<message name="directives">���þ��</message>
<!-- the optional attribute replace-space-with takes a string.
if present, the space between <directive name> and 'Directive'
in directivesynopsis headings will be replaced by the given string.
(see de.xml for an example) -->
<message name="directive">���þ�</message>
<message name="nodirectives">�� ���� ���þ �����ϴ�.</message>
<!-- Used in summaries -->
<message name="summary">���</message>
<!-- Used for translation notes -->
<message name="transnote">����;</message>
<!-- Used in headers and footers -->
<message name="apachetitle">- Apache HTTP Server</message>
<message name="apachehttpserver">Apache HTTP Server Version 2.1</message>
<message name="apachedocalt">[APACHE DOCUMENTATION]</message>
<message name="search">Google �˻�</message> <!-- search button -->
<message name="index">Index</message> <!-- deprecated -->
<message name="home">Home</message> <!-- deprecated -->
<!-- breadcrumb links -->
<message name="apache">Apache</message>
<message name="http-server">HTTP Server</message>
<message name="documentation">Documentation</message>
<message name="version">Version 2.1</message>
<!-- super menu -->
<message name="modules">���</message>
<message name="faq">FAQ</message>
<message name="glossary">���</message>
<message name="sitemap">����Ʈ��</message>
<!-- footer line -->
<message name="maintainedby">Maintained by the</message>
<message name="langavail">������ ���</message>
</messages>
1.1 httpd-2.0/docs/manual/vhosts/details.xml.ko
Index: details.xml.ko
===================================================================
<?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.4 -->
<manualpage metafile="details.xml.meta">
<parentdocument href="./">����ȣ��Ʈ</parentdocument>
<title>����ȣ��Ʈ ã� ���� �ڼ��� ����</title>
<summary>
<p>����ȣ��Ʈ �ڵ�� <strong>����ġ 1.3</strong>���� ���� �ٽ�
�ۼ��Ǿ���. �� ������ ����ġ�� ��û�� ������ � ����ȣ��Ʈ��
�������� �����ϴ� ����� �����Ѵ�. ���ο� <directive
module="core">NameVirtualHost</directive> ���þ ����Ͽ�
����ȣ��Ʈ ������ 1.3 ���� �������� �� ���� ����������.</p>
<p>��� �����ϴ��� ���������ʰ� ���� <cite>�����ϰԸ�</cite>
�ϰ� �ʹٸ�, <a href="examples.html">������</a>�� �����϶�.</p>
</summary>
<section id="configparsing"><title>�������� �б�</title>
<p><code><VirtualHost></code> ������ ������ ������
<em>�ּ���</em>�� �����. <directive type="section"
module="core">VirtualHost</directive> �������� ������
�κ��� ����ȣ��Ʈ��� �θ���.</p>
<p><directive module="mpm_common">Listen</directive>,
<directive module="core">ServerName</directive>,
<directive module="core">ServerPath</directive>,
<directive module="core">ServerAlias</directive> ���þ��
���� ���� ����������� ����� �� �ִ�. ���� ���� ���þ
������ ������ (�� ��������) ������ ���þ�� ��ȿ�ϴ�.</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 �ּҿ� ���� <directive
module="core">NameVirtualHost</directive> ���þ ���ٸ�
�� �ּҸ� �����ϴ� ù��° ����ȣ��Ʈ�� 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><example>
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>
</example></td>
<td><example>
<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 />
</example></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>����ȣ��Ʈ�� <directive module="core">ServerAdmin</directive>,
<directive module="core">ResourceConfig</directive>,
<directive module="core">AccessConfig</directive>,
<directive module="core">Timeout</directive>,
<directive module="core">KeepAliveTimeout</directive>,
<directive module="core">KeepAlive</directive>,
<directive module="core">MaxKeepAliveRequests</directive>,
<directive module="core">SendBufferSize</directive>
���þ ���ٸ� �ּ������� �ش� ���� �����´�. (��,
�ּ����� �������� ����Ѵ�.)</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>
</section>
<section id="hostmatching"><title>����ȣ��Ʈ ã��</title>
<p>������ �Ʒ��� ���� ������� � ����ȣ��Ʈ�� ��û��
ó������ �����Ѵ�:</p>
<section id="hashtable"><title>�ؽ����̺� ã��</title>
<p>Ŭ���̾�Ʈ�� ó�� �����ϸ� ������ IP �ּҸ� ���� IP
�ؽ����̺����� ã�´�.</p>
<p>IP �ּҸ� ã�� �� ���� Ŭ���̾�Ʈ�� ��û�� ���� ��Ʈ��
�ش��ϴ� ����ȣ��Ʈ�� �ִٸ�, <code>_default_</code> ����ȣ��Ʈ��
��û�� �����Ѵ�. <code>_default_</code> ����ȣ��Ʈ��
���ٸ� �ּ����� ��û�� �����Ѵ�.</p>
<p>�ؽ����̺��� IP �ּҰ� ������ ��Ʈ ��ȣ��
<code>NameVirtualHost *</code>�� �ش��� �� �ִ�. �� ���
�̸���� ����ȣ��Ʈó�� ó���Ѵ�.</p>
<p>ã�Ҵٸ� (��Ͽ��� IP �ּҿ� �ش��ϴ� ���� ã����),
IP��� ����ȣ��Ʈ���� �̸���� ����ȣ��Ʈ���� �����Ѵ�.</p>
</section>
<section id="ipbased"><title>IP��� ����ȣ��Ʈ</title>
<p>ã�� �� �̸� ����� ���ٸ� IP��� ����ȣ��Ʈ�̴�.
�� �̻� �۾��� �ʿ����, �� ����ȣ��Ʈ�� ��û�� ó���Ѵ�.</p>
</section>
<section id="namebased"><title>�̸���� ����ȣ��Ʈ</title>
<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>
</section>
<section id="persistent"><title>���� ����</title>
<p>IP�� ������ �����ѵ��� Ư�� TCP/IP ���Ǵ� <em>�ѹ���</em>
ã����, �̸��� KeepAlive/���� ���ᵿ�� <em>��</em> ��û������
ã�´�. ��, Ŭ���̾�Ʈ�� ���� ���ᵿ�� ���� �̸����
����ȣ��Ʈ�� �������� ��û�� �� �ִ�.</p>
</section>
<section id="absoluteURI"><title>���� URI</title>
<p>��û�� URI�� ���� URI�̰� Ŭ���̾�Ʈ�� ���� ��û��
ȣ��Ʈ���� ��Ʈ�� �ּ����� Ư�� ����ȣ��Ʈ�� �ش��ϸ�,
�� �ּ��� Ȥ�� ����ȣ��Ʈ�� URI ���� ��Ŵ/ȣ��Ʈ��/��Ʈ
�κ��� ������ ������ ��� URI�� �����Ѵ�. �ش��ϴ�
�ּ����� ����ȣ��Ʈ�� ���ٸ� URI�� �״�� �ΰ� ��û��
���Ͻ� ��û���� ó���Ѵ�.</p>
</section>
<section id="observations"><title>����</title>
<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>
</section>
</section>
<section id="tips"><title>��</title>
<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>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/vhosts/examples.xml.ko
Index: examples.xml.ko
===================================================================
<?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.4 -->
<manualpage metafile="examples.xml.meta">
<parentdocument href="./">����ȣ��Ʈ</parentdocument>
<title>����ȣ��Ʈ ��</title>
<summary>
<p>�� ������ ���� ���ǵǴ� ����ȣ��Ʈ
������ ���� �Ϸ��� ��������. ��Ȳ�� <a
href="name-based.html">�̸����</a>�̳� <a
href="ip-based.html">IP���</a> ����ȣ��Ʈ�� ���� �� ��������
���� ������Ʈ�� �����Ϸ��� ����̴�. �� ���Ͻ� ���� �ڿ���
���� ������ ����Ͽ� ����Ʈ�� ��ϴ� ��츦 �ٷ� ������
�� ���� ���̴�.</p>
</summary>
<section id="purename"><title>IP �ּ� �Ѱ��� ���� �̸����
������Ʈ ��ϱ�.</title>
<p>������ IP �ּҰ� �Ѱ� �ְ�, DNS���� ���� �ּ�(CNAMES)��
�� ��ǻ�� ����Ų��. �� ��ǻ�Ϳ��� <code>www.example1.com</code>��
<code>www.example2.org</code>�� �������� �����ϰ� �ʹ�.</p>
<note><title>Note</title><p>����ġ ������ ����ȣ��Ʈ ������
�Ѵٰ� �� ȣ��Ʈ���� ���� DNS ���� �ڵ��̷� ��������
�ʴ´�. <em>�ݵ��</em> DNS�� IP �ּҸ� ����Ű��
�̸��� �־�� �Ѵ�. �ȱ��� �ƹ��� ������Ʈ�� ��
�� ����. �˻��غ��� ���� <code>hosts</code> ���Ͽ� ����
�߰��� �� ������, �̴� hosts ���� ���� ��ǻ�Ϳ���
�ݿ��ȴ�.</p>
</note>
<example>
<title>���� ����</title>
# ����ġ�� ��Ʈ 80�� ��ٸ���<br />
Listen 80<br />
<br />
# ��� IP �ּҿ��� ����ȣ��Ʈ ��û�� ��ٸ���<br />
NameVirtualHost *<br />
<br />
<VirtualHost *><br />
<indent>
DocumentRoot /www/example1<br />
ServerName www.example1.com<br />
<br />
# �ٸ� ���þ�鵵 �ִ�<br />
<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost *><br />
<indent>
DocumentRoot /www/example2<br />
ServerName www.example2.org<br />
<br />
# �ٸ� ���þ�鵵 �ִ�<br />
<br />
</indent>
</VirtualHost>
</example>
<p>��ǥ�� ��� �ּҸ� ����Ű�Ƿ�, �ּ����� � ��û��
�������� �ʴ´�. <code>www.example1.com</code>��
�������Ͽ� ó������ �����Ƿ� ���� ���� �켱������ ������,
<cite>�⺻</cite>Ȥ�� <cite>�ʱ�</cite> ������ �ȴ�.
� <code>ServerName</code> ���þ�� �ش�����ʴ� ��û��
ù��° <code>VirtualHost</code>�� �����Ѵ�.</p>
<note>
<title>����</title>
<p>���Ѵٸ� <code>*</code> ��� �ý����� ���� IP
�ּҸ� ����� �� �ִ�. �� ���
<code>VirtualHost</code>�� �ƱԸ�Ʈ��
<code>NameVirtualHost</code>�� �ƱԸ�Ʈ�� ��ġ�ؾ�
<em>�Ѵ�</em>:</p>
<example>
NameVirtualHost 172.20.30.40<br />
<br />
<VirtualHost 172.20.30.40><br />
# ���� ...
</example>
<p>���� ISP���� �������� IP �ּҸ� �������� ��
IP �ּҸ� �� ��쿡�� <code>*</code>�� ����ϴ�
���� �����ϴ�. <code>*</code>�� ��� IP �ּҿ�
�ش��ϹǷ�, IP �ּҰ� ����Ǿ ������ ������
�ʿ䰡 ����.</p>
</note>
<p>���� ��κ��� �̸���� ����ȣ��Ʈ ������ ���� ����.
���ܴ� �ٸ� IP �ּҳ� ��Ʈ�� �ٸ� ������ �����Ϸ���
����̴�.</p>
</section>
<section id="twoips"><title>���� IP �ּҿ��� �̸����
ȣ��Ʈ.</title>
<note>
<title>����</title><p>���⼭ ������ ����� IP �ּҰ�
��� ���밡���ϴ�.</p>
</note>
<p>������ IP �ּҰ� �ΰ��ִ�. �ϳ�����
(<code>172.20.30.40</code>) "��" ����
<code>server.domain.com</code>�� �����ϰ�, �ٸ� �ϳ�����
(<code>172.20.30.50</code>) ���� ����ȣ��Ʈ�� ������
���̴�.</p>
<example>
<title>���� ����</title>
Listen 80<br />
<br />
# 172.20.30.40���� �����ϴ� "��"�����̴�<br />
ServerName server.domain.com<br />
DocumentRoot /www/mainserver<br />
<br />
# �ٸ� �ּҴ�<br />
NameVirtualHost 172.20.30.50<br />
<br />
<VirtualHost 172.20.30.50><br />
<indent>
DocumentRoot /www/example1<br />
ServerName www.example1.com<br />
<br />
# �ٸ� ���þ�鵵 �ִ� ...<br />
<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.50><br />
<indent>
DocumentRoot /www/example2<br />
ServerName www.example2.org<br />
<br />
# �ٸ� ���þ�鵵 �ִ� ...<br />
<br />
</indent>
</VirtualHost>
</example>
<p><code>172.20.30.50</code>�� �ƴ� �ּҿ� ���� ��û��
�ּ����� �����Ѵ�. ȣ��Ʈ�� ����, �� <code>Host:</code>
������� <code>172.20.30.50</code>�� ��û�ϸ�
<code>www.example1.com</code>�� �����Ѵ�.</p>
</section>
<section id="intraextra"><title>(���ο� �ܺ� �ּҿ� ����)
�ٸ� IP �ּҷ� ���� ������ �����ϱ�.</title>
<p>���� ��ǻ�Ϳ� IP �ּҰ� �ΰ� (<code>192.168.1.1</code>��
<code>172.20.30.40</code>) �ִ�. ��ǻ�ʹ� ���� (��Ʈ���)
��Ʈ���� �ܺ� (���ͳ�) ��Ʈ�� ���̿� ��ġ�Ѵ�. ��Ʈ�� �ۿ���
<code>server.example.com</code>�� �ܺ� �ּҸ�
(<code>172.20.30.40</code>) �ǹ��ϰ�, ��Ʈ�� ���ο��� ����
�̸��� ���� �ּҷ� (<code>192.168.1.1</code>) ����Ѵ�.</p>
<p>������ <code>VirtualHost</code> ���� �Ѱ��� ���ο� �ܺ�
���信 ���� ������ ������ �� �ִ�.</p>
<example>
<title>���� ����</title>
NameVirtualHost 192.168.1.1<br />
NameVirtualHost 172.20.30.40<br />
<br />
<VirtualHost 192.168.1.1 172.20.30.40><br />
<indent>
DocumentRoot /www/server1<br />
ServerName server.example.com<br />
ServerAlias server<br />
</indent>
</VirtualHost>
</example>
<p>���� �� ��Ʈ������ ���� ��û�� ����
<code>VirtualHost</code>���� �����Ѵ�.</p>
<note>
<title>����:</title><p>���� ��Ʈ�������� ������ ȣ��Ʈ��
<code>server.example.com</code> ��� �̸�
<code>server</code>�� �����ϴ�.</p>
<p>���� ���� ������ IP �ּ� ��� <code>*</code>��
����Ͽ� ������ ��� �ּҿ� �����ϰ� ������ ��
�ִ�.</p>
</note>
</section>
<section id="port"><title>���� ��Ʈ���� ���� �ٸ� ����Ʈ
��ϱ�.</title>
<p>���� IP�� ���� ��Ʈ���� ���� �ٸ� �������� �����Ѵٰ�
��������. �̴� "NameVirtualHost" �±� ��Ʈ�� �����ϸ�
�����ϴ�. NameVirtualHost name:port���� <VirtualHost
name:port>�� Ȥ�� Listen ���þ ����ϸ� �ȵȴ�.</p>
<example>
<title>���� ����</title>
Listen 80<br />
Listen 8080<br />
<br />
NameVirtualHost 172.20.30.40:80<br />
NameVirtualHost 172.20.30.40:8080<br />
<br />
<VirtualHost 172.20.30.40:80><br />
<indent>
ServerName www.example1.com<br />
DocumentRoot /www/domain-80<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40:8080><br />
<indent>
ServerName www.example1.com<br />
DocumentRoot /www/domain-8080<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40:80><br />
<indent>
ServerName www.example2.org<br />
DocumentRoot /www/otherdomain-80<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40:8080><br />
<indent>
ServerName www.example2.org<br />
DocumentRoot /www/otherdomain-8080<br />
</indent>
</VirtualHost>
</example>
</section>
<section id="ip"><title>IP��� ����ȣ��Ʈ</title>
<p>������ ���� <code>www.example1.com</code>��
<code>www.example2.org</code>�� �ش��ϴ� �� IP �ּҸ�
(<code>172.20.30.40</code>�� <code>172.20.30.50</code>)
������.</p>
<example>
<title>���� ����</title>
Listen 80<br />
<br />
<VirtualHost 172.20.30.40><br />
<indent>
DocumentRoot /www/example1<br />
ServerName www.example1.com<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.50><br />
<indent>
DocumentRoot /www/example2<br />
ServerName www.example2.org<br />
</indent>
</VirtualHost>
</example>
<p><code><VirtualHost></code> ���þ�� ������ �ּҿ�
�ش������ʴ� �ּҷ� (���� ���, <code>localhost</code>)
��û�� ������ �ּ����� �ִ� ��� �ּ����� �����Ѵ�.</p>
</section>
<section id="ipport"><title>��Ʈ��ݰ� ip����� ȥ�յ�
����ȣ��Ʈ</title>
<p>������ ���� <code>www.example1.com</code>��
<code>www.example2.org</code>�� �ش��ϴ� �� IP �ּҸ�
(<code>172.20.30.40</code>�� <code>172.20.30.50</code>)
������. �� IP�� 80���� 8080�� ��Ʈ�� ����ȣ��Ʈ�� ������.</p>
<example>
<title>���� ����</title>
Listen 172.20.30.40:80<br />
Listen 172.20.30.40:8080<br />
Listen 172.20.30.50:80<br />
Listen 172.20.30.50:8080<br />
<br />
<VirtualHost 172.20.30.40:80><br />
<indent>
DocumentRoot /www/example1-80<br />
ServerName www.example1.com<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40:8080><br />
<indent>
DocumentRoot /www/example1-8080<br />
ServerName www.example1.com<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.50:80><br />
<indent>
DocumentRoot /www/example2-80<br />
ServerName www.example1.org<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.50:8080><br />
<indent>
DocumentRoot /www/example2-8080<br />
ServerName www.example2.org<br />
</indent>
</VirtualHost>
</example>
</section>
<section id="mixed"><title>�̸���ݰ� IP����� ȥ�յ�
����ȣ��Ʈ</title>
<p>�ּ��� ����� �̸���� ����ȣ��Ʈ��, �ٸ� ���� IP���
����ȣ��Ʈ�� �����ϰ� �ʹ�.</p>
<example>
<title>���� ����</title>
Listen 80<br />
<br />
NameVirtualHost 172.20.30.40<br />
<br />
<VirtualHost 172.20.30.40><br />
<indent>
DocumentRoot /www/example1<br />
ServerName www.example1.com<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40><br />
<indent>
DocumentRoot /www/example2<br />
ServerName www.example2.org<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40><br />
<indent>
DocumentRoot /www/example3<br />
ServerName www.example3.net<br />
</indent>
</VirtualHost><br />
<br />
# IP-���<br />
<VirtualHost 172.20.30.50><br />
<indent>
DocumentRoot /www/example4<br />
ServerName www.example4.edu<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.60><br />
<indent>
DocumentRoot /www/example5<br />
ServerName www.example5.gov<br />
</indent>
</VirtualHost>
</example>
</section>
<section id="default"><title><code>_default_</code> ����ȣ��Ʈ
����ϱ�</title>
<section id="defaultallports"><title>��� ��Ʈ�� ����
<code>_default_</code> ����ȣ��Ʈ</title>
<p>� ����ȣ��Ʈ���� �ش��������� IP �ּҿ� ��Ʈ�� ����
<em>���</em> ��û�� ó���ϱ�.</p>
<example>
<title>���� ����</title>
<VirtualHost _default_:*><br />
<indent>
DocumentRoot /www/default<br />
</indent>
</VirtualHost>
</example>
<p>default(�⺻) ����ȣ��Ʈ�� ��Ʈ�� ���ϵ�ī�带 ����Ͽ� � ��û��
�ּ����� �������� �����.</p>
<p>default ����ȣ��Ʈ�� ����� �̸���� ����ȣ��Ʈ�� ����ϴ�
�ּ�/��Ʈ���� ��û�� �������� �ʴ´�. �� �� ���ų�
<code>Host:</code> ����� ������ ��û�� �� ������ �̸����
����ȣ��Ʈ(�������Ͽ���
�ּ�/��Ʈ�� ó������ ���� ����ȣ��Ʈ)�� �����Ѵ�.</p>
<p><directive module="mod_alias">AliasMatch</directive>��
<directive module="mod_rewrite">RewriteRule</directive>��
����Ͽ� � ��û�� Ư�� ������(Ȥ�� ��ũ��Ʈ)��
���ۼ���(rewrite) �� �ִ�.</p>
</section>
<section id="defaultdifferentports"><title>���� ��Ʈ�� ����
<code>_default_</code> ����ȣ��Ʈ</title>
<p>���� ���� ������, ������ ���� ��Ʈ�� ��ٸ��� 80��
��Ʈ�� ���ؼ� �߰��� <code>_default_</code> ����ȣ��Ʈ��
����ϰ� �ʹ�.</p>
<example>
<title>���� ����</title>
<VirtualHost _default_:80><br />
<indent>
DocumentRoot /www/default80<br />
# ...<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost _default_:*><br />
<indent>
DocumentRoot /www/default<br />
# ...<br />
</indent>
</VirtualHost>
</example>
<p>80�� ��Ʈ�� ���� default ����ȣ��Ʈ�� (<em>�ݵ��</em>
���ϵ�ī�� ��Ʈ�� ���� �⺻ ����ȣ��Ʈ ������ ���;� �Ѵ�)
������������ IP �ּҷ� ������ ��� ��û�� �����Ѵ�.
�ּ����� ����� ��û�� �������� ���Ѵ�.</p>
</section>
<section id="defaultoneport"><title>�� ��Ʈ�� ����
<code>_default_</code> ����ȣ��Ʈ</title>
<p>80�� ��Ʈ�� ���ؼ��� default ����ȣ��Ʈ�� ����� �ʹ�.</p>
<example>
<title>���� ����</title>
<VirtualHost _default_:80><br />
DocumentRoot /www/default<br />
...<br />
</VirtualHost>
</example>
<p>��Ʈ 80���� ������������ �ּҿ� ���� ��û�� �⺻
����ȣ��Ʈ�� �����ϰ�, �ٸ� ������������ �ּҿ� ��Ʈ��
���� ��û�� �� ������ �����Ѵ�.</p>
</section>
</section>
<section id="migrate"><title>�̸���� ����ȣ��Ʈ�� IP���
����ȣ��Ʈ�� �ű��</title>
<p>(<a href="#name">�̸����</a>�� ù��° ������) ȣ��Ʈ��
<code>www.example2.org</code>�� ���� �̸���� ����ȣ��Ʈ��
�ڽ��� IP �ּҸ� ������ �Ѵ�. �̸���� ����ȣ��Ʈ�� ����
IP �ּҸ� ij���ϴ� ���Ӽ����� ���Ͻÿ��� ������ ���ϱ�����
�ű�� ���� �� ��θ� �����ϰ� �ʹ�.<br /> �����
<code>VirtualHost</code> ���þ �� IP �ּҸ���
(<code>172.20.30.50</code>) �߰��ϸ�ǹǷ� ����.</p>
<example>
<title>���� ����</title>
Listen 80<br />
ServerName www.example1.com<br />
DocumentRoot /www/example1<br />
<br />
NameVirtualHost 172.20.30.40<br />
<br />
<VirtualHost 172.20.30.40 172.20.30.50><br />
<indent>
DocumentRoot /www/example2<br />
ServerName www.example2.org<br />
# ...<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40><br />
<indent>
DocumentRoot /www/example3<br />
ServerName www.example3.net<br />
ServerAlias *.example3.net<br />
# ...<br />
</indent>
</VirtualHost>
</example>
<p>���� (IP��� ����ȣ��Ʈ�� ����) ���ο� �ּҿ� (�̸����
����ȣ��Ʈ�� ����) ���� �ּ� ��� ����ȣ��Ʈ�� ������
�� �ִ�.</p>
</section>
<section id="serverpath"><title><code>ServerPath</code>
���þ� ����ϱ�</title>
<p>�� �̸���� ����ȣ��Ʈ�� ���� ������ �ִ�. �ùٸ�
����ȣ��Ʈ�� �����ϱ����� Ŭ���̾�Ʈ�� �ùٸ�
<code>Host:</code> ����� ������ �Ѵ�. ������ HTTP/1.0
Ŭ���̾�Ʈ�� �� ����� ������ ���ϸ� ����ġ�� Ŭ���̾�Ʈ��
� ����ȣ��Ʈ�� �������ϴ��� �� �� ���� (���� ������
����ȣ��Ʈ�� ��û�� �����Ѵ�). ������ �������� ������ ȣȯ��
�����ϱ����� ������ ����ȣ��Ʈ�� �����, ��� �̸����
����ȣ��Ʈ�� URL ���λ縦 �����ϴ� ��ũ ��� ��������
�д�.</p>
<example>
<title>���� ����</title>
NameVirtualHost 172.20.30.40<br />
<br />
<VirtualHost 172.20.30.40><br />
<indent>
# primary vhost<br />
DocumentRoot /www/subdomain<br />
RewriteEngine On<br />
RewriteRule ^/.* /www/subdomain/index.html<br />
# ...<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40><br />
DocumentRoot /www/subdomain/sub1<br />
<indent>
ServerName www.sub1.domain.tld<br />
ServerPath /sub1/<br />
RewriteEngine On<br />
RewriteRule ^(/sub1/.*) /www/subdomain$1<br />
# ...<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 172.20.30.40><br />
<indent>
DocumentRoot /www/subdomain/sub2<br />
ServerName www.sub2.domain.tld<br />
ServerPath /sub2/<br />
RewriteEngine On<br />
RewriteRule ^(/sub2/.*) /www/subdomain$1<br />
# ...<br />
</indent>
</VirtualHost>
</example>
<p><directive module="core">ServerPath</directive> ���þ����
URL <code>http://www.sub1.domain.tld/sub1/</code>�� ����
��û�� <em>��</em> subl-����ȣ��Ʈ�� �����Ѵ�.<br />
Ŭ���̾�Ʈ�� �ùٸ� <code>Host:</code> ����� �����ٸ�,
URL <code>http://www.sub1.domain.tld/</code>�� ���� ��û��
subl-����ȣ��Ʈ������ �����Ѵ�. ���� <code>Host:</code> �����
������������ Ŭ���̾�Ʈ�� ������ ȣ��Ʈ�� �ִ� ������������
���Եȴ�.<br /> ��� ������ ������ �����϶�: Ŭ���̾�Ʈ��
<code>Host:</code> ����� ������������
<code>http://www.sub2.domain.tld/sub1/</code>�� ���� ��û��
subl-����ȣ��Ʈ�� �����Ѵ�.<br />
<directive module="mod_rewrite">RewriteRule</directive>
���þ ����Ͽ� �ùٸ� <code>Host:</code> ����� ������
Ŭ���̾�Ʈ�� (<em>���� ���</em>, URL ��ġ�簡 �ְų� ����)
�� URL�� ��� ����� �� �ִ�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/vhosts/fd-limits.xml.ko
Index: fd-limits.xml.ko
===================================================================
<?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.8 -->
<manualpage metafile="fd-limits.xml.meta">
<parentdocument href="./">����ȣ��Ʈ</parentdocument>
<title>���ϱ����(file descriptor) �Ѱ�</title>
<summary>
<p>����ȣ��Ʈ�� ���� ����ϰ� �� ����ȣ��Ʈ�� ���� �ٸ�
�α������� �����ϸ�, ����ġ�� ��밡���� ���ϱ����(file
descriptor, ���� <cite>�����ڵ�(file handle)</cite>�̶��
�θ�)�� �� ����� �� �ִ�. ����ġ�� ����ϴ� ���ϱ������
�� ������ ���� �α����ϴ� �Ѱ�, �ٸ� �α����� ���þ��
�Ѱ�, �߰��� ���ο뵵�� 10-20���� ���� ����. ���н� �ü����
���μ����� ����� �� �ִ� ���ϱ���� ������ �����Ѵ�. �� �Ѱ��
���� 64����, ���� �̺��� ū hard-limit���� �ø� �� �ִ�.</p>
<p>����ġ�� �� �Ѱ踦 �ʿ��Ѹ�ŭ �ø����� ������, �����ϴ�
��찡 �ִ�:</p>
<ol>
<li>�ý����� <code>setrlimit()</code> �ý���ȣ����
�������� �ʴ´�.</li>
<li>(Solaris 2.3�� ����) �ý��ۿ���
<code>setrlimit(RLIMIT_NOFILE)</code> �Լ��� ��������
�ʴ´�.</li>
<li>�ʿ��� ���ϱ���� ������ hard limit ���� ����.</li>
<li>(Solaris 2) �ý����� stdio ��Ʈ���� 256������
���ϱ���ڸ��� ����ϵ��� �����ϴ� �� ���ϱ���ڿ�
������ ���Ѵ�.</li>
</ol>
<p>�� ��� �ذ�å��:</p>
<ul>
<li>�α����� ������ ���δ�. <directive type="section"
module="core">VirtualHost</directive> ���ǿ��� �α�������
�������� �ʰ� �� �α������� ����Ѵ�. (�� �ڼ��� �����
�Ʒ� <a href="#splitlogs">�α����� ������</a>�� �����϶�.)</li>
<li>
����ϴ� �ý����� (����) 1��°�� 2��° ��쿡 �ش��Ѵٸ�,
������ ���� ��ũ��Ʈ�� ����ġ�� �����ϱ� ���� ���ϱ����
�Ѱ踦 �ø���.
<example>
<code>#!/bin/sh<br />
ulimit -S -n 100<br />
exec httpd</code>
</example>
</li>
</ul>
</summary>
<section id="splitlogs"><title>����� ������</title>
<p>���� ����ȣ��Ʈ�� ���� �α������� ����Ѵٸ� ���߿� ��
����ȣ��Ʈ�� ���м��� ���� �α������� ������ ���� ���̴�.
�� �۾��� ������ ���� �� �� �ִ�.</p>
<p>���� �α� �� ����ȣ��Ʈ ������ �߰��Ѵ�. �̸� ����
<directive module="mod_log_config">LogFormat</directive>
���þ�� <code>%v</code> ������ ����Ѵ�. �� ������ �α�
���Ĺ��ڿ� �տ� �߰��Ѵ�:</p>
<example>
LogFormat "%v %h %l %u %t \"%r\" %>s %b" vhost<br />
CustomLog logs/multiple_vhost_log vhost
</example>
<p>���� common �α����� �տ� (<directive
module="core">ServerName</directive> ���þ ������) ����
����ȣ��Ʈ�� �����Ͽ� �α������� ����Ѵ�. (�α�����
��������ǿ� ���� ������ <directive
module="mod_log_config">��������� �����</directive>��
�����϶�.)</p>
<p>�α������� (����ȣ��Ʈ�� �� ���Ͼ�) ������ �ʹٸ� <code><a
href="../programs/other.html">split-logfile</a></code> �����
����Ѵ�. �� ���α��� ����ġ �������� <code>support</code>
���丮�� �ִ�.</p>
<p>������ ���� ���α��� �����Ѵ�:</p>
<example>
split-logfile < /logs/multiple_vhost_log
</example>
<p>����ȣ��Ʈ �α������� ������ �� ���α��� �����ϸ� �α����Ͽ�
������ �� ����ȣ��Ʈ�� ������ �ϳ��� �����. ������ ���ϸ���
<code>hostname.log</code>�̴�.</p>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/vhosts/index.xml.ko
Index: index.xml.ko
===================================================================
<?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.10 -->
<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>
1.1 httpd-2.0/docs/manual/vhosts/ip-based.xml.ko
Index: ip-based.xml.ko
===================================================================
<?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.6 -->
<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>
1.1 httpd-2.0/docs/manual/vhosts/mass.xml.ko
Index: mass.xml.ko
===================================================================
<?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.5 -->
<manualpage metafile="mass.xml.meta">
<parentdocument href="./">����ȣ��Ʈ</parentdocument>
<title>�뷮�� ����ȣ��Ʈ�� �������� �����ϱ�</title>
<summary>
<p>�� ������ ����ġ 1.3���� �뷮�� ����ȣ��Ʈ�� ȿ��������
�����ϴ� ����� �����Ѵ�. <!--
Written by Tony Finch (fanf@demon.net) (dot@dotat.at).
Some examples were derived from Ralf S. Engleschall's document
http://www.engelschall.com/pw/apache/rewriteguide/
Some suggestions were made by Brian Behlendorf.
-->
</p>
</summary>
<section id="motivation"><title>����</title>
<p>����� <code>httpd.conf</code>�� ������ ���� ���� �����
<code><VirtualHost></code> ���ǵ��� ���� �ִٸ� ���⼭
�����ϴ� ����� ������ �� ���̴�:</p>
<example>
NameVirtualHost 111.22.33.44<br />
<VirtualHost 111.22.33.44><br />
<indent>
ServerName www.customer-1.com<br />
DocumentRoot /www/hosts/www.customer-1.com/docs<br />
ScriptAlias /cgi-bin/ /www/hosts/www.customer-1.com/cgi-bin<br />
</indent>
</VirtualHost><br />
<VirtualHost 111.22.33.44><br />
<indent>
ServerName www.customer-2.com<br />
DocumentRoot /www/hosts/www.customer-2.com/docs<br />
ScriptAlias /cgi-bin/ /www/hosts/www.customer-2.com/cgi-bin<br />
</indent>
</VirtualHost><br />
# �ٺ� �ٺ� �ٺ�<br />
<VirtualHost 111.22.33.44><br />
<indent>
ServerName www.customer-N.com<br />
DocumentRoot /www/hosts/www.customer-N.com/docs<br />
ScriptAlias /cgi-bin/ /www/hosts/www.customer-N.com/cgi-bin<br />
</indent>
</VirtualHost>
</example>
<p>�⺻ ������ ������ <code><VirtualHost></code>
���� ��θ� �������� ó���ϵ��� ��ü�ϴ� ���̴�.
���� ���� ������ �ִ�:</p>
<ol>
<li>���������� �۾����� ����ġ�� ���� �����ϰ� ��
���� ����Ѵ�.</li>
<li>����ȣ��Ʈ�� �߰��ϱ����� ���Ͻý��ۿ� ������
���丮�� ����� DNS�� ���� �߰��ϱ⸸ �ϸ�ȴ�. ��,
����ġ�� �缳���ϰ� ������� �ʿ䰡 ����.</li>
</ol>
<p>������ �� ����ȣ��Ʈ���� �ٸ� �α������� ����� �� ���ٴ�
���̴�. ���� �ſ� ���� ����ȣ��Ʈ�� ����Ѵٸ� ���ϱ���ڸ�
�� ���������� ���� �ٸ� �α������� ����� �� ����. ��������
fifo�� �α� ������, �� ������ �α� ó���Ͽ� ������
����� (��� ���� ���� ���� �ִ�) �� ����.</p>
</section>
<section id="overview"><title>����</title>
<p>����ȣ��Ʈ�� IP �ּҿ� HTTP ��û�� <code>Host:</code>
��� ������ �����Ѵ�. �⺻������ �뷮��
���� ����ȣ��Ʈ ����� �ڵ����� ����ȣ��Ʈ ������ ��û��
���ϰ�ο� �����Ѵ�. �̴� ��κ� <module>mod_vhost_alias</module>��
����Ͽ� ���� �ذ��� �� ������, ����ġ 1.3.6 ���ϸ� ����Ѵٸ�
<module>mod_rewrite</module>�� ����ؾ� �Ѵ�. �� �� ���
��� �⺻������ ������ ���Ե��� �ʴ´�. �� ����� ����Ϸ���
����ġ�� �����ϰ� �������Ҷ� �����ؾ� �Ѵ�.</p>
<p>���� ����ȣ��Ʈ�� �Ϲ����� ����ȣ��Ʈó�� ���̰��Ϸ���
���������� `�ӿ���' �Ѵ�. ���� �߿��� ���� ����ġ�� �ڱ�����
URL ���� ���鶧 ����� �������̴�. ��������
<code>ServerName</code> ���þ�� �����ϸ�, CGI����
<code>SERVER_NAME</code> ȯ�溯���� �־�����. ������ ����
�������� <directive
module="core">UseCanonicalName</directive> ������ �ȴ�.
<code>UseCanonicalName Off</code>�̸� ��û�� <code>Host:</code>
��� ������ �������� �ȴ�. <code>UseCanonicalName DNS</code>�̸�
����ȣ��Ʈ�� IP �ּҸ� ��DNS �˻��Ͽ� �������� �˾Ƴ���.
���ڴ� �̸���� ���� ����ȣ��Ʈ���� ����ϰ�, ���ڴ� IP���
����ȣ��Ʈ���� ����Ѵ�. <code>Host:</code> ����� ���ų�
DNS �˻��� �����Ͽ� ����ġ�� �������� �˾Ƴ��� ���ϸ�
<code>ServerName</code>���� ������ ���� ��� ����Ѵ�.</p>
<p>�ٸ� `����' ���� (<code>DocumentRoot</code>�� �����ϸ�,
CGI���� <code>DOCUMENT_ROOT</code> ȯ�溯���� �־�����)
������Ʈ�̴�. �Ϲ����� ��� core ����� �� ������ ����Ͽ�
URI�� �ش��ϴ� ���ϸ��� ã����, ������ ���� ����ȣ������ �Ҷ��� �ٸ�
����� (<code>mod_vhost_alias</code>�� <code>mod_rewrite</code>)
�ٸ� ������� �̷� �۾��� �Ѵ�. �� ��� ���
<code>DOCUMENT_ROOT</code> ȯ�溯���� ������� �����Ƿ�
CGI�� SSI ������ �� ���� ����Ѵٸ� �߸��� ����� ���� ��
�ִ�.</p>
</section>
<section id="simple"><title>������ ���� ����ȣ��Ʈ</title>
<p>�� <a href="#motivation">����</a> ���� ����ȣ��Ʈ
������ <code>mod_vhost_alias</code>�� ����Ͽ� �� �Ϲ�������
�����ߴ�.</p>
<example>
# Host: ������� �������� �˾Ƴ���<br />
UseCanonicalName Off<br />
<br />
# ù��° �ʵ带 ����Ͽ� �� �α� ����ȣ��Ʈ���� ���� �� �ִ�<br />
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon<br />
CustomLog logs/access_log vcommon<br />
<br />
# ��û�� ó���ϱ����� ���ϸ��� �������� �����Ѵ�<br />
VirtualDocumentRoot /www/hosts/%0/docs<br />
VirtualScriptAlias /www/hosts/%0/cgi-bin
</example>
<p>�� �������� <code>UseCanonicalName Off</code>��
<code>UseCanonicalName DNS</code>�� �����ϱ⸸ �ϸ� IP���
����ȣ��Ʈ�� �ȴ�. ����ȣ��Ʈ�� IP �ּҸ� ������
���ϸ��� �߰��� �������� �� �� �ִ�.</p>
</section>
<section id="homepages"><title>�������� ȣ��Ʈ�ϴ� Ȩ������ �ý���</title>
<p>ISP Ȩ������ ������ ���� ���� ������ �����ߴ�. ���� ��
������ ������ ����ϸ� <code>www.user.isp.com</code>�� ������
<code>/home/user/</code>�� �δ� ������ �������� �Ϻθ� ������
���ϸ��� ���� �� �ִ�. �� ������
<code>cgi-bin</code>�� �� ����ȣ��Ʈ�� ���� �������ʰ�
��� ����ȣ��Ʈ�� ���� ����Ѵ�.</p>
<example>
# �⺻���� ������ ���� ����. ����<br />
<br />
# ���ϸ��� �������� �Ϻθ� �����Ѵ�<br />
VirtualDocumentRoot /www/hosts/%2/docs<br />
<br />
# �ϳ��� cgi-bin ���丮<br />
ScriptAlias /cgi-bin/ /www/std-cgi/<br />
</example>
<p><module>mod_vhost_alias</module> �������� �� ������
<code>VirtualDocumentRoot</code> ������ ���� �ִ�.</p>
</section>
<section id="combinations"><title>�� ������ ���� ����ȣ��Ʈ
�ý��� ����ϱ�</title>
<p>�� ������ ������ ���� ����ġ�� �Ϲ�����
<code><VirtualHost></code> ���þ ����Ͽ� ����
����ȣ��Ʈ ������ ������ ������ �� �ִ�. ���� ���, ������
���� ������ Ȩ������ ������ IP �ּ� �Ѱ�, �������
�������� �ٸ� IP �ּ� �Ѱ��� �ο��Ѵ�. ���� ����ó��
<code><VirtualHost></code> ���� ���ǿ� ��� ���� ����
�ִ�.</p>
<example>
UseCanonicalName Off<br />
<br />
LogFormat "%V %h %l %u %t \"%r\" %s %b" vcommon<br />
<br />
<Directory /www/commercial><br />
<indent>
Options FollowSymLinks<br />
AllowOverride All<br />
</indent>
</Directory><br />
<br />
<Directory /www/homepages><br />
<indent>
Options FollowSymLinks<br />
AllowOverride None<br />
</indent>
</Directory><br />
<br />
<VirtualHost 111.22.33.44><br />
<indent>
ServerName www.commercial.isp.com<br />
<br />
CustomLog logs/access_log.commercial vcommon<br />
<br />
VirtualDocumentRoot /www/commercial/%0/docs<br />
VirtualScriptAlias /www/commercial/%0/cgi-bin<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost 111.22.33.45><br />
<indent>
ServerName www.homepages.isp.com<br />
<br />
CustomLog logs/access_log.homepages vcommon<br />
<br />
VirtualDocumentRoot /www/homepages/%0/docs<br />
ScriptAlias /cgi-bin/ /www/std-cgi/<br />
</indent>
</VirtualHost>
</example>
</section>
<section id="ipbased"><title>�� ȿ������ IP��� ����ȣ��Ʈ</title>
<p><a href="#simple">ù��° ��</a>���� ���� ������ ������
IP��� ����ȣ��Ʈ�� �ٲ� �� �ִٰ� ���ߴ�. ��������
�� ������ �� ��û���� DNS�� ã�ƾ��ϹǷ� �ſ� ��ȿ�����̴�.
�̸���� IP �ּҷ� ���Ͻý����� �����ϰ� ���� �������
�α� �����ϸ� ������ �ذ��� �� �ִ�. ����ġ�� ��������
�ٷ� �ʿ䰡 ��������, DNS �˻��� ���� �ʰ� �ȴ�.</p>
<example>
# IP �ּҸ� ��DNS �˻��Ͽ� �������� �˾Ƴ���<br />
UseCanonicalName DNS<br />
<br />
# �α� ���� �� �ֵ��� IP �ּҸ� �����Ѵ�<br />
LogFormat "%A %h %l %u %t \"%r\" %s %b" vcommon<br />
CustomLog logs/access_log vcommon<br />
<br />
# ���ϸ��� IP �ּҸ� �����Ѵ�<br />
VirtualDocumentRootIP /www/hosts/%0/docs<br />
VirtualScriptAliasIP /www/hosts/%0/cgi-bin<br />
</example>
</section>
<section id="oldversion"><title>����ġ ���� ���� ����ϱ�</title>
<p>�� ������ ����ġ ���� 1.3.6 ���Ŀ� ���Ե�
<code>mod_vhost_alias</code>�� ����Ѵ�.
<code>mod_vhost_alias</code>�� ���� ����ġ ������ ����Ѵٸ�
�̹� ���ߵ��� <code>mod_rewrite</code>�� ����Ͽ�, ��
Host:-������ ����ȣ��Ʈ����, ������ �� �ִ�.</p>
<p>�� �α� ���Ͽ� ������ ���� �ִ�. ����ġ 1.3.6����
�α����� ���þ� <code>%V</code>�� ���ԵǾ���, ���� 1.3.0
- 1.3.3���� �� ����� <code>%v</code> �ɼ��� ��� �ߴ�. ����
���� 1.3.4���� �̷� ����� ����. � ����ġ ����������
<code>.htaccess</code> ���Ͽ��� <code>UseCanonicalName</code>
���þ ����� �� �����Ƿ� �α� �̻��� ������ ��ϵ� �� �ִ�.
���Ƿ� ���� ���� ����� <code>%{Host}i</code> ���þ
����Ͽ� <code>Host:</code> ����� ���� �α� ����� ���̴�.
��, �� ����� <code>%V</code>�� ���������ʴ� <code>:port</code>��
�ڿ� �߰��� �� �ִ�.</p>
</section>
<section id="simple.rewrite"><title><code>mod_rewrite</code>��
����� ������ ���� ����ȣ��Ʈ</title>
<p>������ <a href="#simple">ù��° ��</a>�� ���� ���� �ϴ�
<code>httpd.conf</code> ���̴�. ó�� ������ ù��° ����
���� ���������, ���� �������� ȣȯ���� <code>mod_rewrite</code>��
������ ������ ���� �����Ǿ���. ������ ������ ���� �۾���
�ϴ� <code>mod_rewrite</code>�� �����Ѵ�.</p>
<p>Ư���� �����ؾ� �� ������ �ִ�. �⺻������
<code>mod_rewrite</code>�� (<code>mod_alias</code> ��) �ٸ�
URI ���� ��� ������ ����ȴ�. ���� �ٸ� URI ���� �����
���� ������ ���� �����Ͽ� <code>mod_rewrite</code>�� �����ؾ� �Ѵ�.
��, ���� ����ȣ��Ʈ���� <code>ScriptAlias</code>�� ����
����� ���ؼ��� Ư���� �۾��� �ʿ��ϴ�.</p>
<example>
# Host: ������� �������� ��´�<br />
UseCanonicalName Off<br />
<br />
# splittable logs<br />
LogFormat "%{Host}i %h %l %u %t \"%r\" %s %b" vcommon<br />
CustomLog logs/access_log vcommon<br />
<br />
<Directory /www/hosts><br />
<indent>
# ScriptAlias ������ CGI ������ ������ �� �������<br />
# ��� ExecCGI�� ����Ѵ�<br />
Options FollowSymLinks ExecCGI<br />
</indent>
</Directory><br />
<br />
# ���� ����� �κ��̴�<br />
<br />
RewriteEngine On<br />
<br />
# Host: ������� ������ ���������� ��ҹ��ڰ� �ڼ������� �� �ִ�<br />
RewriteMap lowercase int:tolower<br />
<br />
## �Ϲ� ������ ���� ó���Ѵ�:<br />
# Alias /icons/ �� �����ϵ��� - �ٸ� alias�� ���ؼ��� �ݺ�<br />
RewriteCond %{REQUEST_URI} !^/icons/<br />
# CGI�� �����ϵ���<br />
RewriteCond %{REQUEST_URI} !^/cgi-bin/<br />
# Ư���� �۾�<br />
RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{SERVER_NAME}}/docs/$1<br />
<br />
## ���� CGI�� ó���Ѵ� - MIME type�� �����ؾ� �Ѵ�<br />
RewriteCond %{REQUEST_URI} ^/cgi-bin/<br />
RewriteRule ^/(.*)$ /www/hosts/${lowercase:%{SERVER_NAME}}/cgi-bin/$1 [T=application/x-httpd-cgi]<br />
<br />
# ��!
</example>
</section>
<section id="homepages.rewrite"><title><code>mod_rewrite</code>��
����� Ȩ������ �ý���</title>
<p>������ <a href="#homepages">�� ��</a>�� ���� ����
�Ѵ�.</p>
<example>
RewriteEngine on<br />
<br />
RewriteMap lowercase int:tolower<br />
<br />
# CGI�� �����ϵ���<br />
RewriteCond %{REQUEST_URI} !^/cgi-bin/<br />
<br />
# RewriteRule�� �����ϵ��� ȣ��Ʈ���� �ùٸ��� �˻��Ѵ�<br />
RewriteCond ${lowercase:%{SERVER_NAME}} ^www\.[a-z-]+\.isp\.com$<br />
<br />
# ����ȣ��Ʈ���� URI �տ� ���δ�<br />
# [C]�� �� ����� ������ ���� ���ۼ��� �������� ���Ѵ�<br />
RewriteRule ^(.+) ${lowercase:%{SERVER_NAME}}$1 [C]<br />
<br />
# ���� ���� ���ϸ��� �����<br />
RewriteRule ^www\.([a-z-]+)\.isp\.com/(.*) /home/$1/$2<br />
<br />
# ��ü CGI ���丮�� �����Ѵ�<br />
ScriptAlias /cgi-bin/ /www/std-cgi/
</example>
</section>
<section id="xtra-conf"><title>������ ����ȣ��Ʈ ��������
����ϱ�</title>
<p>������ <code>mod_rewrite</code>�� ���� ����� ����Ͽ�
������ ���������� ������ ����ȣ��Ʈ�� ������Ʈ�� �˾Ƴ���.
�� ���������� �� ������ ������ �ʿ��ϴ�.</p>
<p><code>vhost.map</code> ������ ������ ����:</p>
<example>
www.customer-1.com /www/customers/1<br />
www.customer-2.com /www/customers/2<br />
# ...<br />
www.customer-N.com /www/customers/N<br />
</example>
<p><code>http.conf</code>�� ������ ����:</p>
<example>
RewriteEngine on<br />
<br />
RewriteMap lowercase int:tolower<br />
<br />
# ���������� �����Ѵ�<br />
RewriteMap vhost txt:/www/conf/vhost.map<br />
<br />
# ���� ���� alias���� ó���Ѵ�<br />
RewriteCond %{REQUEST_URI} !^/icons/<br />
RewriteCond %{REQUEST_URI} !^/cgi-bin/<br />
RewriteCond ${lowercase:%{SERVER_NAME}} ^(.+)$<br />
# ���� ������ ������ ��<br />
RewriteCond ${vhost:%1} ^(/.*)$<br />
RewriteRule ^/(.*)$ %1/docs/$1<br />
<br />
RewriteCond %{REQUEST_URI} ^/cgi-bin/<br />
RewriteCond ${lowercase:%{SERVER_NAME}} ^(.+)$<br />
RewriteCond ${vhost:%1} ^(/.*)$<br />
RewriteRule ^/(.*)$ %1/cgi-bin/$1
</example>
</section>
</manualpage>
1.1 httpd-2.0/docs/manual/vhosts/name-based.xml.ko
Index: name-based.xml.ko
===================================================================
<?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.8 -->
<manualpage metafile="name-based.xml.meta">
<parentdocument href="./">����ȣ��Ʈ</parentdocument>
<title>�̸���� ����ȣ��Ʈ ����</title>
<summary>
<p>�� ������ �̸���� ����ȣ��Ʈ�� ����ϴ� ���� �����
�����Ѵ�.</p>
</summary>
<seealso><a href="ip-based.html">IP��� ����ȣ��Ʈ ����</a></seealso>
<seealso><a href="details.html">����ȣ��Ʈ ã� ���� �ڼ��� ����</a></seealso>
<seealso><a href="mass.html">�뷮�� ����ȣ��Ʈ�� �������� �����ϱ�</a></seealso>
<seealso><a href="examples.html">�Ϲ����� ����ȣ��Ʈ ��</a></seealso>
<seealso><a href="examples.html#serverpath">ServerPath ���� ��</a></seealso>
<section id="namevip"><title>�̸���� �� IP��� ����ȣ��Ʈ</title>
<p>IP��� ����ȣ��Ʈ�� ������ IP �ּҸ� ������ ������
����ȣ��Ʈ�� �����Ѵ�. ���� �� ȣ��Ʈ�� ���� �ٸ� IP �ּҸ�
������ �Ѵ�. �̸���� ����ȣ��Ʈ�� ��� ������ Ŭ���̾�Ʈ��
HTTP ����� ȣ��Ʈ���� �˷��ֱ� �ٶ���. �̷� ������� ��
IP �ּҷ� ���� �ٸ� ȣ��Ʈ�� ������ �� �ִ�.</p>
<p>�̸���� ����ȣ��Ʈ�� DNS ������ �� ȣ��Ʈ���� �ùٸ�
IP �ּҷ� �����ϵ��� ����ȣ��Ʈ�� �����ϰ�, �ٸ� ȣ��Ʈ���� ������
�� �ֵ��� ����ġ �������� �����ϱ⸸ �ϸ�ǹǷ� �� �����ϴ�. �̸����
����ȣ��Ʈ�� �� ���� IP �ּҰ� �ʿ����. ���Ƿ� Ư����
IP��� ����ȣ��Ʈ�� ������ ������ ���ٸ� �̸���� ����ȣ��Ʈ��
����ؾ� �Ѵ�. IP��� ����ȣ��Ʈ�� ����ؾ��� �����δ�:</p>
<ul>
<li>�̸���� ����ȣ��Ʈ�� ���������ʴ� ������
Ŭ���̾�Ʈ���� �ִ�. �̸���� ����ȣ��Ʈ�� ����Ϸ���
Ŭ���̾�Ʈ�� HTTP Host ����� ������ �Ѵ�. �̴�
HTTP/1.1������ �ʼ��̰�, �ֱ� ��� HTTP/1.0 �������鵵
Ȯ������ �����Ѵ�. ���� �̸���� ����ȣ��Ʈ�� ����ϸ鼭
������ Ŭ���̾�Ʈ�� �����ؾ� �Ѵٸ� �� ���� ���� �ִ�
����� �������.</li>
<li>SSL ���������� ���ݻ� SSL ���ȼ������� �̸����
����ȣ��Ʈ�� ����� �� ����.</li>
<li>� �ü���� ��Ʈ�� ��ġ�� �ٸ� IP �ּҸ� �������
������ ȣ��Ʈ�� �������� ���ϴ� ��Ʈ�� ��뷮(bandwidth)
��������� ����Ѵ�.</li>
</ul>
</section>
<section id="using"><title>�̸���� ����ȣ��Ʈ ����ϱ�</title>
<related>
<modulelist>
<module>core</module>
</modulelist>
<directivelist>
<directive module="core">DocumentRoot</directive>
<directive module="core">NameVirtualHost</directive>
<directive module="core">ServerAlias</directive>
<directive module="core">ServerName</directive>
<directive module="core">ServerPath</directive>
<directive module="core">VirtualHost</directive>
</directivelist>
</related>
<p>�̸���� ����ȣ��Ʈ�� ����Ϸ��� ������ ������ ����
IP �ּҸ� (�Ƹ� ��Ʈ��) ���ؾ� �Ѵ�. �̴� <directive
module="core">NameVirtualHost</directive> ���þ�� �����ϴ�.
�Ϲ������� ������ ��� IP �ּҸ� ����Ѵٸ�
<code>NameVirtualHost</code>�� �ƱԸ�Ʈ�� <code>*</code>��
����Ѵ�. <code>NameVirtualHost</code> ���þ IP �ּҸ�
�����־��ٰ� ������ �ڵ����� �� IP �ּҸ� ��ٸ��� ������
�����϶�. �ڼ��� ������ <a href="../bind.html">����ġ��
����� �ּҿ� ��Ʈ �����ϱ�</a>�� �����϶�. ��, ���⼭
������ IP �ּҴ� ������ ��Ʈ�� �������̽��̾�� �Ѵ�.</p>
<p>���� �ܰ�� �����Ϸ��� ȣ��Ʈ���� <directive
type="section" module="core">VirtualHost</directive> ������
����� ���̴�. <code><VirtualHost></code> ���þ���
�ƱԸ�Ʈ�� <code>NameVirtualHost</code> ���þ��� �ƱԸ�Ʈ(����
���, IP �ּҳ� ��� �ּҸ� ���ϴ� <code>*</code>)��
���ƾ� �Ѵ�. <code><VirtualHost></code> ���� �ȿ���
�ּ��� ������ ȣ��Ʈ�� �����ϴ� <directive
module="core">ServerName</directive> ���þ�� ȣ��Ʈ��
������ ���Ͻý��� ��� �ִ����� �����ϴ� <directive
module="core">DocumentRoot</directive> ���þ �ʿ��ϴ�.</p>
<note><title>�� ȣ��Ʈ�� ��������</title>
������ ����ϴ� �������� ����ȣ��Ʈ�� �߰��Ѵٸ� ������
����ϴ� ȣ��Ʈ�� ���� <VirtualHost> ���ϵ� �߰��ؾ�
�Ѵ�. �� ���Ͽ� �����ϴ� <code>ServerName</code>��
<code>DocumentRoot</code>�� ��ü <code>ServerName</code>��
<code>DocumentRoot</code>�� ���ƾ� �Ѵ�. �������Ͽ��� ��
����ȣ��Ʈ�� ���� ���� ������ �⺻ ȣ��Ʈ�� �ȴ�.
</note>
<p>���� ��� <code>www.domain.tld</code> �������� �����ϰ�
�־��µ� ���� IP �ּҿ�
<code>www.otherdomain.tld</code>�� ����ȣ��Ʈ�� �߰��ϰ�
�ʹٰ� ��������. <code>httpd.conf</code>�� ������ ����
�߰��ϸ� �ȴ�:</p>
<example>
NameVirtualHost *<br />
<br />
<VirtualHost *><br />
<indent>
ServerName www.domain.tld<br />
ServerAlias domain.tld *.domain.tld<br />
DocumentRoot /www/domain<br />
</indent>
</VirtualHost><br />
<br />
<VirtualHost *><br />
<indent>ServerName www.otherdomain.tld<br />
DocumentRoot /www/otherdomain<br />
</indent>
</VirtualHost><br />
</example>
<p><code>NameVirtualHost</code>��
<code><VirtualHost></code> ���þ� �� ��� * ���
���� IP �ּҸ� ������ ���� �ִ�. ���� ���, �̷������� ��
IP �ּҿ� ���� �̸���� ����ȣ��Ʈ���� ������, �ٸ� �ּҿ�
IP��� Ȥ�� �̸���� ����ȣ��Ʈ���� ���� �� �ִ�.</p>
<p>� ������ ���� �̸����� ������ �� �ֱ� �ٶ���. �̴�
<VirtualHost> ���� �ȿ� <directive
module="core">ServerAlias</directive> ���þ ����Ͽ�
�����ϴ�. ���� ��� ���� ù��° <VirtualHost> ���Ͽ���
<directive module="core">ServerAlias</directive> ���þ ����ϸ�
������ �̸����� ���� ������Ʈ�� �� �� �ִ�:</p>
<example>
ServerAlias domain.tld *.domain.tld
</example>
<p><code>domain.tld</code> �����ο� �ִ� ��� ȣ��Ʈ�� ����
��û�� <code>www.domain.tld</code> ����ȣ��Ʈ�� �����Ѵ�.
�̸��� �ٶ� ���ϵ�ī�� ���� *�� ?�� ����� �� �ִ�. ����
<code>ServerName</code>�̳� <code>ServerAlias</code>�� �̸���
�����־��ٰ� ���� �ƴϴ�. ���� �� �̸����� ������ IP �ּҷ�
�����ϵ��� DNS ������ �˸°� �����ؾ� �Ѵ�.</p>
<p>���������� <code><VirtualHost></code> �ȿ� �ٸ�
���þ���� ����Ͽ� ����ȣ��Ʈ�� �ڼ��� ������ �� �ִ�.
��κ��� ���þ ����� �� ������, ���õ� ����ȣ��Ʈ�� ��������
�����Ѵ�. � ���þ ��밡������ �˷��� ���þ��� <a
href="../mod/directive-dict.html#Context">������</a>��
Ȯ���϶�. (<code><VirtualHost></code> ���� �ƴ�)
<em>�ּ�������</em>���� ������ ���� ���þ�� ����ȣ��Ʈ��
���� ���� ���þ ���� ��쿡�� ���ȴ�.</p>
<p>��û�� ������ ������ ���� <code>NameVirtualHost</code>����
������ IP �ּ����� �˻��Ѵ�. ���ٸ� �� IP �ּҸ�
���� <code><VirtualHost></code> ���ǵ鿡�� ��û��
ȣ��Ʈ���� ��ġ�ϴ� <code>ServerName</code>�̳�
<code>ServerAlias</code>�� ã�´�. ã���� �� ������ ����Ѵ�.
������ ����ȣ��Ʈ�� ã�����ϸ�, IP �ּҿ� �ش��ϴ�
<strong>����ȣ��Ʈ���� ù��° ��</strong>�� ����Ѵ�.</p>
<p>��������� ó���� ���� ����ȣ��Ʈ�� <em>�⺻</em>
����ȣ��Ʈ�� �ȴ�. IP �ּҰ� <code>NameVirtualHost</code>
���þ �ش��ϸ�, <em>�ּ���</em>�� <code>DocumentRoot</code>��
<strong>�����</strong> ������� �ʴ´�. Ư�� ����ȣ��Ʈ��
�ش������ʴ� ��û�� �����Ϸ���
������ <code><VirtualHost></code>�� ��� �������Ͽ���
���� �������� �ϸ� �ȴ�.</p>
</section>
<section id="compat"><title>������ �������� ȣȯ</title>
<p>�̹� �������� �̸���� ����ȣ��Ʈ�� �ùٷ� �����ϱ�����
�ʿ��� ������ �������ʴ� Ŭ���̾�Ʈ�� �ִ�. �̷� Ŭ���̾�Ʈ��
�� ��û�� IP �ּҿ� ���� ù��°�� ������ ����ȣ��Ʈ
(<cite>������</cite> �̸���� ����ȣ��Ʈ)��
�����Ѵ�.</p>
<note><title>�� ������ ���� ���ϴ°�?</title>
���⼭ �����Ǿ����� ������ ����� ������ ���� ���Ѵ�.
���ó� �̷� �������� ����� ���� ���Ǿ���. ����
�������� ��� �̸���� ����ȣ��Ʈ�� �ʿ��� <code>Host</code>
����� ������.
</note>
<p>�� ������ �ణ �����彺������ <directive
module="core">ServerPath</directive> ���þ�� �ذ��� �� �ִ�:</p>
<p>���� ��:</p>
<example>
NameVirtualHost 111.22.33.44<br />
<br />
<VirtualHost 111.22.33.44><br />
<indent>
ServerName www.domain.tld<br />
ServerPath /domain<br />
DocumentRoot /web/domain<br />
</indent>
</VirtualHost><br />
</example>
<p>�̰� ���� ���ΰ�? "<code>/domain</code>"�� �����ϴ�
URI�� ���� ��û�� ����ȣ��Ʈ <code>www.domain.tld</code>��
�����Ѵ�. ��, <code>Host:</code> ����� ������ Ŭ���̾�Ʈ��
<code>http://www.domain.tld/</code>�����ε� ������ �� ������,
<code>http://www.domain.tld/domain/</code>���δ� ���
Ŭ���̾�Ʈ�� �������� ������ �� �ִ�.</p>
<p>�̸� ���� ������ ����ȣ��Ʈ�� �ִ� ��������
<code>http://www.domain.tld/domain/</code>���� ���� ��ũ��
�ִ´�. ���� ����ȣ��Ʈ ������������ ��븵ũ����
����Ѵ�. (���� ���, "<code>file.html</code>",
"<code>../icons/image.gif</code>",
"<code>http://www.domain.tld/domain/misc/file.html</code>"�̳�
"<code>/domain/misc/file.html</code>"�� ���� �տ�
<code>/domain/</code>�� ���� ��ũ)</p>
<p>���� ��Ģ�� �ʿ������� �� ��Ģ�� ������ ��κ��� ���
���� ���̳� ������ ���̳� ������� ��� �������� ��������
�� �� �ִ�.</p>
</section>
</manualpage>