content-negotiation.xml.ko revision f6066dc0a6ad0432b74774e290c04c3cc4aa2daf
<?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: 151408:1029134 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manualpage metafile="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)'
��������� �����Ѵ�. ����ġ�� <code>Accept</code>,
<code>Accept-Language</code>, <code>Accept-Charset</code>,
<code>Accept-Encoding</code> ��û ����� ��� �����Ѵ�.
��, ����ġ�� RFC 2295�� RFC 2296�� ���ǵ� �������� ���������
'�ڿ�������(transparent)' ��û ����� �����Ѵ�. �׷��� ��
RFC�� ���ǵ� '��� ���(feature negotiation)'�� ��������
�ʴ´�.</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>
<columnspec><column width=".15"/><column width=".85"/></columnspec>
<tr valign="top">
<th>����</th>
<th>����</th>
</tr>
<tr valign="top">
<td>Media Type</td>
<td>������� <code>Accept</code> ����� ��ȣ�� ��Ÿ����.
�� �׸��� ǰ������ ���� �� �ִ�. ������ ���? ǰ������
("qs" �Ķ����) ���� �� �ִ�.</td>
</tr>
<tr valign="top">
<td>Language</td>
<td>������� <code>Accept-Language</code> ����� ��ȣ��
��Ÿ����. �� �׸��� ǰ������ ���� �� �ִ�. ������
���� �� ���� (Ȥ�� �ƹ� �� ����) �� �ִ�.</td>
</tr>
<tr valign="top">
<td>Encoding</td>
<td>������� <code>Accept-Encoding</code> ����� ��ȣ��
��Ÿ����. �� �׸��� ǰ������ ���� �� �ִ�.</td>
</tr>
<tr valign="top">
<td>Charset</td>
<td>������� <code>Accept-Charset</code> ����� ��ȣ��
��Ÿ����. �� �׸��� ǰ������ ���� �� �ִ�. ������
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><code>Accept</code> ����� ǰ������ ������
media type�� ���� ǰ���� ���Ͽ� ���� ���� ����
���� ������ �����Ѵ�.</li>
<li>���� ���� ���(language) ǰ������ ���� ������
�����Ѵ�.</li>
<li><code>Accept-Language</code> ����� (�ִٸ�)
���� ����� �� Ȥ�� <code>LanguagePriority</code>
���þ (�ִٸ�) ���� ����� �� ������ ����
������ �� ���� ������ �����Ѵ�.</li>
<li>���� ���� (text/html media type�� ������ ��Ÿ����)
'level' media �Ķ���͸� ���� ������ �����Ѵ�.</li>
<li><code>Accept-Charset</code> ����� ������ ����
������ 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 ���� ��� <code>Vary</code>�� ����� ������
��Ÿ���� �ȴ�. (������� ij���� �ڿ��� ij���Ҷ� �� ������
����� �� �ִ�.) ��.</li>
<li>�� �ܰ迡 �����ߴٸ� (��� ������ �������ϱ� ������)
� ���� ������ �ȵ� ����. ("No acceptable
representation"�� ���ϴ�) ���� 406�� �������� ��밡����
������ ����� ���� HTML ������ ������ ������. ��, HTML
<code>Vary</code> ����� ������ ������ ��Ÿ����.</li>
</ol>
</section>
</section>
<section id="better"><title>ǰ���� �����ϱ�</title>
<p>����ġ�� ���� ���� ����ġ ��� �˰?���� ������ ��Ű���ʰ�
ǰ������ �����Ѵ�. ������ �����ϰ� ��Ȯ�� ������ �������ʴ�
������� (�˰?����) �� ���� ��� ������ ���ؼ���.
�θ� ���̴� �������� �Ϻδ� ���� �߸�� ������ �����ϵ���
<code>Accept</code> ����� ������. ������ �����ϰ� �ùٸ�
������ �����ٸ�, ������ �����ʴ´�.</p>
<section id="wildcards"><title>Media Type�� ���ϵ�ī��</title>
<p><code>Accept:</code> ��û ����� 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><code>Accept:</code> ����� q ����� ���� <em>���</em>
"*/*"�� �ִٸ�, ����ġ�� �ٶ����� �ൿ�� ���� q ������ 0.01��
�����Ѵ�. ��, "type/*" ������ ���ϵ�ī�忡�� ("*/*"���ٴ�
�� ��ȣ�ϵ���) 0.02�� �����Ѵ�. <code>Accept:</code> �������
q ����� ������ media type�� �ִٸ� �̷� Ư���� ���� �߰�����
<em>�ʴ´�</em>. �׷��� ������� ������ ������ ��������
��û�� ��û�ѵ��� ó���Ѵ�.</p>
</section>
<section id="exceptions"><title>���(language) ����� ����</title>
<p>����ġ 2.0�� ��� ����� ������ ��� �ε巴�� �����ϱ�����
��� �˰?�� ���� ���ܸ� � �߰��ߴ�.</p>
<p>Ŭ���̾�Ʈ�� ������ �������� ��û������ ������ ������
���� <code>Accept-language</code>�� �´� �������� �� �Ѱ���
ã���� ������ ������, �׷��� ���� ��� ������ Ŭ���̾�Ʈ����
"No Acceptable Variant"�� "Multiple Choices" ������ ������.
�̷� ������ ���ϱ����� �� ��� <code>Accept-language</code>��
�����ϰ� Ŭ���̾�Ʈ�� ��û�� ��Ȯ�� ������ ������ ������
�������� ����ġ�� ������ �� �ִ�. <directive
module="mod_negotiation">ForceLanguagePriority</directive>
���þ�� ������ �̷� ������ �ϳ� Ȥ�� �Ѵٸ� �����ϰ�
<directive module="mod_negotiation">LanguagePriority</directive>
���þ�� �Ǵ��ϵ��� �Ѵ�.</p>
<p>��, ������ �´� �� ��ã�� ��� �θ�� ã�� ����
�ִ�. ���� ��� Ŭ���̾�Ʈ�� ������� ���ϴ�
<code>en-GB</code> ���� ������ ��û�� ���, HTTP/1.1 ǥ�ؿ�
��� ������ <code>en</code>���θ� ǥ�õ� ������ �Ϲ�������
�������� ���Ѵ�. (�׷��� ������� �����ϴ� ���ڰ� �Ϲ�����
��� ������ �� �����Ƿ� <code>Accept-Language</code> �����
<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; q=0.9, fr; q=0.8"�� ��û�ϰ� ������ "en"�� "fr"
������ �ִٸ�, "fr" ������ ���õ��� �����϶�. �̴� HTTP/1.1
ǥ���� ��Ű��, �ùٷ� ������ Ŭ���̾�Ʈ�� ȿ��������
�����ϱ������̴�.</p>
<p>����ڰ� ��ȣ�ϴ� �� �˾Ƴ������� (��Ű�� Ư����
URL-��� ����) ��� ����� �����ϱ����� ����ġ 2.0.47����
<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) ��Ͽ��� ���ڵ�� ������ �ν��� �� �ְ�, ���ڵ���
<code>Accept-Encoding</code> ��û ����� �´� ��� ���ڵ��
����鵵 �ĺ��� ����ϵ��� Ȯ��Ǿ��. 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">
<columnspec><column width=".2"/><column width=".2"/>
<column width=".2"/></columnspec>
<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>
<p>HTTP/1.1 Ŭ���̾�Ʈ���� ����ġ�� ������ ��� ������
�˷��ִ� <code>Vary</code> HTTP ��������� ������. �� ������
����Ͽ� ���� ��û�� ij���� ���纻���� ��ü�� �� �ִ���
�Ǵ��� �� �ִ�. ����� ������ ������ ij���� ���纻��
���Ѵٸ� <code>force-no-vary</code> <a
href="env.html#special">ȯ�溯��</a>�� �����Ѵ�.</p>
</section>
</manualpage>