1
<?xml version="1.0" encoding="EUC-KR"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" lang="ko" xml:lang="ko"><head><!--
4
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5
This file is generated from xml source: DO NOT EDIT
6
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
8
<title>�������� (Content Negotiation) - Apache HTTP Server</title>
9
<link href="./style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10
<link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11
<link href="./style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12
<link href="./images/favicon.ico" rel="shortcut icon" /></head>
13
<body id="manual-page"><div id="page-header">
14
<p class="menu"><a href="./mod/">���</a> | <a href="./mod/directives.html">���þ��</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">���</a> | <a href="./sitemap.html">����Ʈ��</a></p>
15
<p class="apache">Apache HTTP Server Version 2.2</p>
16
<img alt="" src="./images/feather.gif" /></div>
17
<div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div>
19
<a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="./">Version 2.2</a></div><div id="page-content"><div id="preamble"><h1>�������� (Content Negotiation)</h1>
21
<p><span>������ ���: </span><a href="./en/content-negotiation.html" hreflang="en" rel="alternate" title="English"> en </a> |
22
<a href="./ja/content-negotiation.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
23
<a href="./ko/content-negotiation.html" title="Korean"> ko </a></p>
25
<div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�.
26
�ֱٿ� ����� ������ ���� ������ �����ϼ���.</div>
29
<p>����ġ�� HTTP/1.1 �Ծ ����� ��������(content
30
negotiation)�� �����Ѵ�. ���������� media type, ���, ��������,
31
���ڵ� � ���� �������� ������ ��ȣ���� ���� �ڿ���
32
���� ������ ǥ���� �����Ѵ�. �� �ҿ����� ���� ������ ������
33
�������� ��û�� ���������� ó���ϴ� ��ɵ� �ִ�.</p>
35
<p>�⺻������ �����ϵǴ� <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>
36
����� �������� ����� �����Ѵ�.</p>
38
<div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#about">�������� ����</a></li>
39
<li><img alt="" src="./images/down.gif" /> <a href="#negotiation">����ġ�� ����</a></li>
40
<li><img alt="" src="./images/down.gif" /> <a href="#methods">������</a></li>
41
<li><img alt="" src="./images/down.gif" /> <a href="#better">ǰ����� �����ϱ�</a></li>
42
<li><img alt="" src="./images/down.gif" /> <a href="#extensions">�ڿ�������(transparent) ���������� Ȯ��</a></li>
43
<li><img alt="" src="./images/down.gif" /> <a href="#naming">�����۸�ũ�� �̸���Ģ�� ���Ͽ�</a></li>
44
<li><img alt="" src="./images/down.gif" /> <a href="#caching">ij���� ���Ͽ�</a></li>
45
<li><img alt="" src="./images/down.gif" /> <a href="#more">�ٸ� ����</a></li>
47
<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
49
<h2><a name="about" id="about">�������� ����</a></h2>
51
<p>�ڿ��� ���� �ٸ� ǥ���� ���� �� �ִ�. ���� ���, �ٸ�
52
�� �ٸ� media type Ȥ�� �� ��ΰ� �ٸ� ǥ������ ����
53
�� �ִ�. ���� ������ ǥ���� �����ϴ� �Ѱ��� ����� ����ڿ���
54
��� �������� �����ְ� �����ϰ� �ϴ� ���̴�. ���� ������
55
�ڵ����� �����ϴ� �͵� �����ϴ�. �̴� �������� ��û��
56
�Ϻη� ���� ��ȣ�ϴ� ǥ���� ���� ������ ���������
57
�����ϴ�. ���� ���, �������� �������� �Ҿ��, ����
58
���ٸ� ����� ������ �����ʹٰ� �˷��� �� �ִ�. ��������
59
��û�� ����� ���� ��ȣ�� ��Ÿ����. ���� �Ҿ�ε� ǥ������
60
��û�Ѵٸ� �������� ������ ���� ������.</p>
62
<div class="example"><p><code>Accept-Language: fr</code></p></div>
64
<p>�̷� ��ȣ�� ǥ���� ���� �ٸ� ��쿡�� �����ȴ�.</p>
66
<p>������ �� ������ ��û�� ���� �������� �Ҿ�� ���
67
���� �� ������, �Ҿ �� ��ȣ�ϰ�, ���� media type�� ����
68
�� ������, �Ϲ� �ؽ�Ʈ ���ٴ� HTML, �ٸ� media type ���ٴ�
69
GIF�� JPEG�� ��ȣ�Ѵٰ� �˷��ش�.</p>
71
<div class="example"><p><code>
72
Accept-Language: fr; q=1.0, en; q=0.5<br />
73
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
76
<p>����ġ�� HTTP/1.1 �Ծ ���ǵ� '���� �ֵ�(server driven)'
77
���������� �����Ѵ�. ����ġ�� <code>Accept</code>,
78
<code>Accept-Language</code>, <code>Accept-Charset</code>,
79
<code>Accept-Encoding</code> ��û ����� ��� �����Ѵ�.
80
��, ����ġ�� RFC 2295�� RFC 2296�� ���ǵ� �������� ����������
81
'�ڿ�������(transparent)' ��û ����� �����Ѵ�. ���� ��
82
RFC�� ���ǵ� '��� ����(feature negotiation)'�� ��������
85
<p><strong>�ڿ�(resource)</strong>�� (RFC 2396) URI�� �����ϴ�
86
�������� �����. ����ġ�� ���� �������� �ڿ���
87
<strong>ǥ��(representations)</strong>�� �����Ѵ�. ǥ����
88
������ media type, ��������, ���ڵ� ���� ���� ����Ʈ���
89
���ִ�. �ڿ��� ���� ǥ���� (���δ� ���� ���� �ִ�) �����ȴ�.
90
�ڿ��� ���� ǥ���� �ִٸ� �ڿ���
91
<strong>�����ϴٰ�(negotiable)</strong> �θ���, �̶�
92
�� ǥ���� <strong>����(variant)</strong>�̶�� �Ѵ�.
93
������ �ڿ��� ���� ������ ������
94
<strong>����(dimension)</strong>��� �Ѵ�.</p>
95
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
97
<h2><a name="negotiation" id="negotiation">����ġ�� ����</a></h2>
99
<p>�ڿ��� �����ϱ����� ������ �� ������ ���� ������ �ʿ��ϴ�.
100
���� �ΰ��� ����� �ϳ��� ������ ��´�:</p>
103
<li>������ ���� ���ϵ��� ���� ������ type map�� (<em>����
104
���</em>, <code>*.var</code> ����) ����ϰų�,</li>
106
<li>���� ���������ʾƵ� ������ ���ϸ����� ��Ģ�� ã�Ƽ�
107
����� �����ϴ� 'MultiViews'�� ����Ѵ�.</li>
110
<h3><a name="type-map" id="type-map">type-map ���� ����ϱ�</a></h3>
112
<p>type map�� <code>type-map</code>�̶� �ڵ鷯�� �����
113
(Ȥ�� ���� ����ġ ������ ȣȯ�� ���� MIME type��
114
<code>application/x-type-map</code>��) ������. �� �����
115
����Ϸ��� �������� <code>type-map</code> �ڵ鷯�� ����
116
���� Ȯ���ڸ� �����ؾ� �Ѵ�. ���� �������Ͽ� ������ ����
117
�����ϴ� ���� ����.</p>
119
<div class="example"><p><code>AddHandler type-map .var</code></p></div>
121
<p>Type map ������ �ش��ϴ� �ڿ��� �̸��� ���ƾ� �ϰ�,
122
�� ������ ���� ���� �־�� �Ѵ�. ���� ���� HTTP����
123
��� �ٷ� �����ȴ�. ������ ���� ������ ����� ���ٷ�
124
�����Ѵ�. ��ȿ��� ������ ����� �� ����. (�̷��� ��
125
�ʿ䰡 ����, �־ ����������) ���� ���� �������� ������
126
�ִ� �������� map ������ �����ϴ� ���� �����̴�. ������
127
map ���� ����. �� ������ �̸��� <code>foo.var</code>��,
128
<code>foo</code>��� �ڿ��� �����Ѵ�.</p>
130
<div class="example"><p><code>
133
URI: foo.en.html<br />
134
Content-type: text/html<br />
135
Content-language: en<br />
137
URI: foo.fr.de.html<br />
138
Content-type: text/html;charset=iso-8859-2<br />
139
Content-language: fr, de<br />
141
<p>typemap ������ ���ϸ� Ȯ���� ����, ������ Multiviews��
142
����Ͽ���, �켱���� ������ �����϶�. ������ ���� �ٸ� ǰ����
143
�����ٸ�, ������ ���� (JPEG, GIF, ASCII-art�� �ش��ϴ�)
144
media type�� "qs" �Ķ���ͷ� ǰ��(source quality)�� ǥ����
147
<div class="example"><p><code>
151
Content-type: image/jpeg; qs=0.8<br />
154
Content-type: image/gif; qs=0.5<br />
157
Content-type: text/plain; qs=0.01<br />
160
<p>qs ���� 0.000���� 1.000 ���̴�. qs ���� 0.000�� ������
161
���� ���õ��� ������ �����϶�. 'qs' ���� ���� ������ 1.0����
162
��ȴ�. qs ���� Ŭ���̾�Ʈ�� �ɷ°��� ������� �ٸ� �������
163
���Ͽ� �� ������ ������� 'ǰ��'�� ��Ÿ����. ���� ���,
164
������ ��Ÿ������ ��� JPEG ������ ASCII ���Ϻ��ٴ� ��
165
���� ǰ���� ������. ���� �ڿ��� ���� ASCII art���ٸ�
166
ASCII ǥ���� JPEG ǥ������ �� ���� ǰ���� ���� �� �ִ�.
167
���Ƿ� � ������ qs ���� ǥ���Ϸ��� �ڿ��� ������
170
<p>�����ϴ� ��� ��� ����� <a href="mod/mod_negotiation.html#typemaps">mod_negotation
171
typemap</a> ������ �����϶�.</p>
174
<h3><a name="multiviews" id="multiviews">Multiviews</a></h3>
176
<p><code>MultiViews</code>�� ���丮�� �ɼ��̹Ƿ�,
177
<code>httpd.conf</code>��
178
<code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>,
179
<code class="directive"><a href="./mod/core.html#location"><Location></a></code>,
180
<code class="directive"><a href="./mod/core.html#files"><Files></a></code>
181
���� Ȥ�� (<code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code>��
182
������ �����Ǿ��ٸ�) <code>.htaccess</code> ������
183
<code class="directive"><a href="./mod/core.html#options">Options</a></code> ���þ ������
184
�� �ִ�. <code>Options All</code>�� <code>MultiViews</code>��
185
�������������� �����϶�. ���� ���� ����� �Ѵ�.</p>
187
<p><code>MultiViews</code>�� ����ϸ� ������ ���� ���� �Ͼ��:
188
������ <code>/some/dir/foo</code>�� ���� ��û�� �ް�
189
<code>/some/dir/foo</code>�� <code>MultiViews</code>�� �����ϸ�
190
<code>/some/dir/foo</code>�� �������� <em>����</em> ���,
191
������ ���丮���� �̸��� foo.*�� ���ϵ��� ��� �����ϴ�
192
������ type map�� �����. Ŭ���̾�Ʈ�� ��û�� media type��
193
content-encoding�� ������ ���߿� ���� ������ ���� �����Ѵ�.</p>
195
<p><code>MultiViews</code>�� ������ ���丮�� �����Ҷ�
196
������ ã�� <code class="directive"><a href="./mod/mod_dir.html#directoryindex">DirectoryIndex</a></code> ���þ��
197
����ȴ�. ���������� ������ ���ٸ�,</p>
198
<div class="example"><p><code>DirectoryIndex index</code></p></div>
199
<p><code>index.html</code>�� <code>index.html3</code>��
200
��� �ִٸ� ������ �̵� �߿� �ϳ��� �����Ѵ�. �� ��� ����
201
<code>index.cgi</code>�� �ִٸ�, ������ �װ��� �����Ѵ�.</p>
203
<p>���丮�� ������ ������ �ϳ��� Charset, Content-Type,
204
Language, Encoding�� �Ǵ��ϴ� <code>mod_mime</code>�� ��
205
Ȯ���ڸ� �����ٸ�, ����� <code class="directive"><a href="./mod/mod_mime.html#multiviewsmatch">MultiViewsMatch</a></code> ���þ� ������
206
�Ǵ�. �� ���þ�� �ڵ鷯, ����, �ٸ� Ȯ�������� MultiViews
207
���� �������� ���θ� �����Ѵ�.</p>
209
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
210
<div class="section">
211
<h2><a name="methods" id="methods">������</a></h2>
213
<p>����ġ�� type-map �����̳� ���丮�� �ִ� ���ϸ����
214
�־��� �ڿ��� ���� ���� ����� ��ԵǸ� '������' ������
215
�����ϱ����� �� ����� �ϳ��� ����Ѵ�. ����ġ ��������
216
����� ����ϱ����� ��Ȯ�� ������ ��� �Ͼ���� �ڼ���
217
�� �ʿ�� ����. ���� �ñ��� ����� ���� �� ����� �����Ѵ�.</p>
219
<p>�ΰ��� �������� �ִ�:</p>
222
<li><strong>����ġ �˰������� ����Ͽ� ������ �ֵ��ϴ�
223
����</strong>�� �Ϲ����� ��쿡 ����Ѵ�. ����ġ �˰�������
224
�Ʒ��� �ڼ��� �����Ѵ�. �� �˰������� ����ϸ� ����ġ��
225
�� ���� ����� ������� ���� Ư�� ������
226
ǰ�����(quality factor)�� '�����Ѵ�'. ����ġ�� ǰ�������
227
�����ϴ� ����� �Ʒ��� �ڼ��� �����Ѵ�.</li>
229
<li><strong>�ڿ�������(Transparent) ��������</strong>��
230
�������� RFC 2295�� ���ǵ� ������� ��û�� ��쿡��
231
����Ѵ�. �� �������� '������' ������ ������ ������
232
���������� �ο��Ѵ�. ���� ����� �������� �˰�����
233
�ȴ�. �ڿ������� ��������߿� �������� ����ġ����
234
RFC 2296�� ���ǵ� '���� �������� �˰�����(remote variant
235
selection algorithm)'�� ��û�� �� �ִ�.</li>
238
<h3><a name="dimensions" id="dimensions">������ ����</a></h3>
251
<td>�������� <code>Accept</code> ����� ��ȣ�� ��Ÿ����.
252
�� ���� ǰ������� ���� �� �ִ�. ������ ������ ǰ�������
253
("qs" �Ķ����) ���� �� �ִ�.</td>
259
<td>�������� <code>Accept-Language</code> ����� ��ȣ��
260
��Ÿ����. �� ���� ǰ������� ���� �� �ִ�. ������
261
���� �� ���� (Ȥ�� �ƹ� �� ����) �� �ִ�.</td>
267
<td>�������� <code>Accept-Encoding</code> ����� ��ȣ��
268
��Ÿ����. �� ���� ǰ������� ���� �� �ִ�.</td>
274
<td>�������� <code>Accept-Charset</code> ����� ��ȣ��
275
��Ÿ����. �� ���� ǰ������� ���� �� �ִ�. ������
276
media type�� �Ķ���ͷ� ���������� ��Ÿ�� �� �ִ�.</td>
281
<h3><a name="algorithm" id="algorithm">����ġ ���� �˰�����</a></h3>
283
<p>����ġ�� ���������� ���� '������' ������ (�ִٸ�)
284
�����ϱ����� �Ʒ� �˰������� ����Ѵ�. �� �˰������� ������
285
�� ����. ������ ���� �����Ѵ�:</p>
288
<li>����, ������ �� ������ ���� �ش��ϴ� <em>Accept*</em>
289
����� �˻��ϰ�, �� ������ ǰ������ �ű��. � ������
290
<em>Accept*</em> ����� �Ƶ����� �ʴ� ������ �ĺ�����
291
�����Ѵ�. � ������ ���������� 4 �ܰ�� ����.</li>
294
�ĺ����� �ϳ��� �����Ͽ� '������' ������ ã�´�. ����
295
�� �˻�� ������� �Ͼ��. �� �˻翡�� ���õ�������
296
������ ���ܵȴ�. �� �˻��� �� ������ ������ �̸� ������
297
�������� �����ϰ� 3 �ܰ�� ����. ���� ������ ������
301
<li><code>Accept</code> ����� ǰ������� ������
302
media type�� ���� ǰ������ ���Ͽ� ���� ���� ����
303
���� ������ �����Ѵ�.</li>
305
<li>���� ���� ���(language) ǰ������� ���� ������
308
<li><code>Accept-Language</code> ����� (�ִٸ�)
309
���� ����� ���� Ȥ�� <code>LanguagePriority</code>
310
���þ (�ִٸ�) ���� ����� ������ ������ ����
311
������ �� ���� ������ �����Ѵ�.</li>
313
<li>���� ���� (text/html media type�� ������ ��Ÿ����)
314
'level' media �Ķ���� ���� ������ �����Ѵ�.</li>
316
<li><code>Accept-Charset</code> ����� ������ ����
317
������ charset media �Ķ���� ���� ������ ã�´�.
318
����� ���ٸ� ISO-8859-1 ���������� ���� ��ȣ�Ѵ�.
319
<code>text/*</code> media type�� �������� ����������
320
Ư�� �������հ� ����������� ������ ISO-8859-1��
323
<li>ISO-8859-1�� <em>�ƴ�</em> charset media �Ķ����
324
���� �������� �����Ѵ�. �� ������ ���ٸ�, ��� ���
327
<li>���� ������ ���ڵ��� ���� ������ �����Ѵ�.
328
user-agent�� ������ ���ڵ��� ���� ������ �ִٸ� ��
329
�������� �����Ѵ�. �����ʰ� ���ڵ��� ������ ���ڵ��ȵ�
330
������ ���� �ִٸ� ���ڵ��ȵ� �������� �����Ѵ�. ������
331
��� ���ڵ��Ǿ��ų� ��� ���ڵ��ȵ� ��� ��� ������
334
<li>content length�� ���� ���� ������ �����Ѵ�.</li>
336
<li>���� ���� ù���� ������ �����Ѵ�. �̴� type-map
337
������ �տ� ���ų�, ���丮���� ������ ���� ���
338
���ϸ��� ASCII �ڵ� ������ �Ͽ� �տ� ������ ���̴�.</li>
342
<li>���� �˰������� '������' ������ �����ߴ�. �̰��� ��������
343
������. HTTP ���� ��� <code>Vary</code>�� ������ ������
344
��Ÿ���� �ȴ�. (�������� ij���� �ڿ��� ij���Ҷ� �� ������
345
����� �� �ִ�.) ��.</li>
347
<li>�� �ܰ迡 �����ߴٸ� (��� �������� �������ϱ� ������)
348
� ������ ������ �ȵ� ����. ("No acceptable
349
representation"�� ���ϴ�) ���� 406�� �������� ��밡����
350
������ ����� ���� HTML ������ ������ ������. ��, HTML
351
<code>Vary</code> ����� ������ ������ ��Ÿ����.</li>
354
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
355
<div class="section">
356
<h2><a name="better" id="better">ǰ����� �����ϱ�</a></h2>
358
<p>����ġ�� ���� ���� ����ġ ���� �˰������� ������ ��Ű���ʰ�
359
ǰ������� �����Ѵ�. ������ �����ϰ� ��Ȯ�� ������ �������ʴ�
360
���������� (�˰�������) �� ���� ����� ������ ���ؼ���.
361
�θ� ���̴� �������� �Ϻδ� ���� �߸��� ������ �����ϵ���
362
<code>Accept</code> ����� ������. �������� �����ϰ� �ùٸ�
363
������ �����ٸ�, ������ �����ʴ´�.</p>
365
<h3><a name="wildcards" id="wildcards">Media Type�� ���ϵ�ī��</a></h3>
367
<p><code>Accept:</code> ��û ����� media type�� ���� ��ȣ��
368
��Ÿ����. ��, *�� � ���ڿ��̶� �����ϱ���� "image/*"��
369
"*/*" ���� '���ϵ�ī��' media type�� ����� ���� �ִ�. ����
370
������ ���� ��û��:</p>
372
<div class="example"><p><code>Accept: image/*, */*</code></p></div>
374
<p>"image/"�� �����ϴ� � type�� �ٸ� � type�� ��������
376
�ڽ��� ������ �ٷ� �� �ִ� type�� �߰��� ���ϵ�ī�带 ������.
379
<div class="example"><p><code>
380
Accept: text/html, text/plain, image/gif, image/jpeg, */*
382
<p>������ ���� ������ type�� ��ȣ������ �ٸ� ǥ���� �ִٸ�
383
�װ͵� �������� ��Ÿ���� ���ؼ���. �������� ������ ����
384
���� ������ ���� ���������� ǰ������ ����� ���̴�.</p>
385
<div class="example"><p><code>
386
Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01
388
<p>���� ������ type�� ǰ������� ��� �⺻���� (���� ����)
389
1.0�� ������. ���ϵ�ī�� */*�� ���� ��ȣ�� 0.01�� �����Ƿ�
390
���� ������ type�� �´� ������ ���� ��쿡�� �ٸ� type����
393
<p><code>Accept:</code> ����� q ����� ���� <em>����</em>
394
"*/*"�� �ִٸ�, ����ġ�� �ٶ����� �ൿ�� ���� q ������ 0.01��
395
�����Ѵ�. ��, "type/*" ������ ���ϵ�ī�忡�� ("*/*"���ٴ�
396
�� ��ȣ�ϵ���) 0.02�� �����Ѵ�. <code>Accept:</code> �������
397
q ����� ������ media type�� �ִٸ� �̷� Ư���� ���� �߰�����
398
<em>�ʴ´�</em>. ���� �������� ������ ������ ��������
399
��û�� ��û�ѵ��� ó���Ѵ�.</p>
402
<h3><a name="exceptions" id="exceptions">���(language) ������ ����</a></h3>
404
<p>����ġ 2.0�� ��� ������ ������ ��� �ε巴�� �����ϱ�����
405
���� �˰����� ���� ���ܸ� � �߰��ߴ�.</p>
407
<p>Ŭ���̾�Ʈ�� ������ �������� ��û������ ������ ��������
408
���� <code>Accept-language</code>�� �´� �������� �� �Ѱ���
409
ã���� ������ ������, ���� ���� ��� ������ Ŭ���̾�Ʈ����
410
"No Acceptable Variant"�� "Multiple Choices" ������ ������.
411
�̷� �������� ���ϱ����� �� ��� <code>Accept-language</code>��
412
�����ϰ� Ŭ���̾�Ʈ�� ��û�� ��Ȯ�� ������ ������ ������
413
�������� ����ġ�� ������ �� �ִ�. <code class="directive"><a href="./mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code>
414
���þ�� ������ �̷� �������� �ϳ� Ȥ�� �Ѵٸ� �����ϰ�
415
<code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>
416
���þ�� �Ǵ��ϵ��� �Ѵ�.</p>
418
<p>��, ������ �´� �� ��ã�� ��� �θ�� ã�� ����
419
�ִ�. ���� ��� Ŭ���̾�Ʈ�� ������� ���ϴ�
420
<code>en-GB</code> ���� ������ ��û�� ���, HTTP/1.1 ǥ�ؿ�
421
������ ������ <code>en</code>���θ� ǥ�õ� ������ �Ϲ�������
422
�������� ���Ѵ�. (���� ������� �����ϴ� ���ڰ� �Ϲ�����
423
��� ������ �� �����Ƿ� <code>Accept-Language</code> �����
424
<code>en-GB</code>�� �����ϰ� <code>en</code>�� ��������������
425
���� Ȯ���� �߸��� �������� �����϶�. �������� ���� ����
426
Ŭ���̾�Ʈ���� �̷� ������ �⺻�������ִ�.) �ٸ� ��
427
ã�� ���Ͽ� ������ "No Acceptable Variants" ������ �����ų�
428
<code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>��
429
���ư��� �Ѵٸ�, ������ ������� �Ծ��� �����ϰ�
430
<code>en-GB</code>�� <code>en</code> ������ �����Ѵ�.
431
�Ϲ������� ����ġ�� �θ�� �ſ� ���� ǰ��������
432
Ŭ���̾�Ʈ�� ����� ��Ͽ� �߰��Ѵ�. ���� Ŭ���̾�Ʈ��
433
"en-GB; q=0.9, fr; q=0.8"�� ��û�ϰ� ������ "en"�� "fr"
434
������ �ִٸ�, "fr" ������ ���õ��� �����϶�. �̴� HTTP/1.1
435
ǥ���� ��Ű��, �ùٷ� ������ Ŭ���̾�Ʈ�� ȿ��������
438
<p>����ڰ� ��ȣ�ϴ� �� �˾Ƴ������� (��Ű�� Ư����
439
URL-��� ����) ���� ����� �����ϱ����� ����ġ 2.0.47����
440
<code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>�� <code>prefer-language</code>���
441
<a href="env.html">ȯ�溯��</a>�� �ν��Ѵ�. �� ȯ�溯����
442
�����ϰ� ������ ����±� �����Ѵٸ�,
443
<code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>�� �ش��ϴ� ������ �����Ϸ���
444
�õ��Ѵ�. �� ������ ���ٸ� �Ϲ����� ��������� �����Ѵ�.</p>
446
<div class="example"><h3>����</h3><p><code>
447
SetEnvIf Cookie "language=(.+)" prefer-language=$1
450
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
451
<div class="section">
452
<h2><a name="extensions" id="extensions">�ڿ�������(transparent) ���������� Ȯ��</a></h2>
454
<p>����ġ�� ������ ���� �ڿ������� ����Ȯ�� ���������� (RFC 2295)
455
Ȯ���Ѵ�. ���� ����� ���ο� <code>{encoding ..}</code>�� Ư��
456
content-encoding�� ���� �������� ��Ī�Ѵ�. RVSA/1.0 �˰�������
457
(RFC 2296) ��Ͽ��� ���ڵ��� ������ �ν��� �� �ְ�, ���ڵ���
458
<code>Accept-Encoding</code> ��û ����� �´� ��� ���ڵ���
459
�����鵵 �ĺ��� ����ϵ��� Ȯ��Ǿ���. RVSA/1.0 ������ ������
460
������ ã�� ���� ���� ǰ������� �Ҽ��� 5�ڸ����� �ݿø�����
462
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
463
<div class="section">
464
<h2><a name="naming" id="naming">�����۸�ũ�� �̸���Ģ�� ���Ͽ�</a></h2>
466
<p>���(language) ������ ����Ѵٸ� ������ ���� Ȯ���ڸ�
467
������ Ȯ������ ������ ���� ��������Ƿ� ���ϸ��� ���� �ٸ�
468
�̸���Ģ�� ����� �� �ִ�. (�ڼ��� ������ <a href="mod/mod_mime.html#multipleext">mod_mime</a> ������
471
<p>�������� ������ MIME-type Ȯ���� (<em>���� ���</em>,
472
<code>html</code>), ��쿡 ���� encoding Ȯ���� (<em>����
473
���</em>, <code>gz</code>), ���Ͽ� ���� ��� ������ �ִ�
474
��� ���� ��� Ȯ���ڸ� (<em>���� ���</em>, <code>en</code>)
484
<li>foo.en.html.gz</li>
487
<p>������ ��� ���ϸ��� �� ���Ͽ� ���� ��ȿ�ϰ� ��ȿ��������
488
�����۸�ũ�� ���δ�:</p>
490
<table class="bordered">
495
<th>��ȿ�� �����۸�ũ</th>
497
<th>��ȿ�������� �����۸�ũ</th>
501
<td><em>foo.html.en</em></td>
510
<td><em>foo.en.html</em></td>
518
<td><em>foo.html.en.gz</em></td>
528
<td><em>foo.en.html.gz</em></td>
538
<td><em>foo.gz.html.en</em></td>
548
<td><em>foo.html.gz.en</em></td>
558
<p>�� ǥ�� ���� �����۸�ũ�� � Ȯ���ڵ� ���� �̸���
559
(<em>���� ���</em>, <code>foo</code>) �� ����� �� ������
560
�� �� �ִ�. �� ��� ������ ������ ���� ������ ���� �� �־,
561
<em>���� ���</em> ���̷���ũ ������ �����Ͼʰ�
562
<code>html</code> ������ <code>shtml</code>�̳�
563
<code>cgi</code>�� ������ �� �ִٴ� ���̴�.</p>
565
<p>��� �����۸�ũ�� MIME-type�� (<em>���� ���</em>,
566
<code>foo.html</code>) ����ϰ� �ʹٸ� (encoding Ȯ���ڰ�
567
�ִٸ� �̰͵� �����Ͽ�) ��� Ȯ���ڸ� MIME-type Ȯ���ں���
568
�����ʿ� (<em>���� ���</em>, <code>foo.html.en</code>)
570
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
571
<div class="section">
572
<h2><a name="caching" id="caching">ij���� ���Ͽ�</a></h2>
574
<p>ij���� ǥ���� �����ϸ� ǥ���� ��û URL�� ������Ų��.
575
������ �� URL�� ��û�ϸ� ij���� ����� ǥ���� ����Ѵ�.
576
���� ������ ������ ������ �ڿ��� ��� ù��° ��û�� ������
577
ij���Ǿ� ���� ��û�� ij���� �߸��� ������ ���� �� �ִ�.
578
�̸� �������� ����ġ�� ���� ���������� ��ȯ�Ǵ� ��� ��û��
579
HTTP/1.0 Ŭ���̾�Ʈ�� ij���� ���ϵ��� ǥ�ø� �Ѵ�. ��, ����ġ��
580
������ ������ ij���� ����ϴ� HTTP/1.1 ���������� �����
583
<p><code class="directive"><a href="./mod/mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></code>
584
���þ�� HTTP/1.0 ȣȯ Ŭ���̾�Ʈ(������ Ȥ�� ij��)��
585
���� ��û�� ���� ������ ������ ij���� �� �ְ� �Ѵ�. �� ���þ��
586
������ ����ȣ��Ʈ ������ ����ϸ�, �ƱԸ�Ʈ�� �����ʴ´�.
587
�� ���þ�� HTTP/1.1 Ŭ���̾�Ʈ�� ��û���� ���谡 ����.</p>
589
<p>HTTP/1.1 Ŭ���̾�Ʈ���� ����ġ�� ������ ���� ������
590
�˷��ִ� <code>Vary</code> HTTP ��������� ������. �� ������
591
����Ͽ� ���� ��û�� ij���� ���纻���� ��ü�� �� �ִ���
592
�Ǵ��� �� �ִ�. ����� ������ ������� ij���� ���纻��
593
���Ѵٸ� <code>force-no-vary</code> <a href="env.html#special">ȯ�溯��</a>�� �����Ѵ�.</p>
595
</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
596
<div class="section">
597
<h2><a name="more" id="more">�ٸ� ����</a></h2>
599
<p>�������� ���� �ٸ� ������ Alan J. Flavell�� �� <a href="http://ppewww.ph.gla.ac.uk/~flavell/www/lang-neg.html">Language
600
Negotiation Notes</a>�� �����϶�. ���� �� ������ ����
601
����ġ 2.0�� ��ȭ�� �ݿ����� ���� �� �ִ�.</p>
603
<div class="bottomlang">
604
<p><span>������ ���: </span><a href="./en/content-negotiation.html" hreflang="en" rel="alternate" title="English"> en </a> |
605
<a href="./ja/content-negotiation.html" hreflang="ja" rel="alternate" title="Japanese"> ja </a> |
606
<a href="./ko/content-negotiation.html" title="Korean"> ko </a></p>
607
</div><div id="footer">
608
<p class="apache">Copyright 2006 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
609
<p class="menu"><a href="./mod/">���</a> | <a href="./mod/directives.html">���þ��</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">���</a> | <a href="./sitemap.html">����Ʈ��</a></p></div>
b'\\ No newline at end of file'