~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to docs/manual/content-negotiation.html.ko.euc-kr

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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
 
7
      -->
 
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="&lt;-" alt="&lt;-" src="./images/left.gif" /></a></div>
 
18
<div id="path">
 
19
<a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="./">Version 2.2</a></div><div id="page-content"><div id="preamble"><h1>�������� (Content Negotiation)</h1>
 
20
<div class="toplang">
 
21
<p><span>������ ���: </span><a href="./en/content-negotiation.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
 
22
<a href="./ja/content-negotiation.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
 
23
<a href="./ko/content-negotiation.html" title="Korean">&nbsp;ko&nbsp;</a></p>
 
24
</div>
 
25
<div class="outofdate">�� ������ �ֽ��� ������ �ƴմϴ�.
 
26
            �ֱٿ� ����� ������ ���� ������ �����ϼ���.</div>
 
27
 
 
28
 
 
29
    <p>����ġ�� HTTP/1.1 �Ծ࿡ ����� ��������(content
 
30
    negotiation)�� �����Ѵ�. ���������� media type, ���, ��������,
 
31
    ���ڵ� � ���� �������� ������ ��ȣ���� ���� �ڿ���
 
32
    ���� ������ ǥ���� �����Ѵ�. �� �ҿ����� ���� ������ ������
 
33
    �������� ��û�� ���������� ó���ϴ� ��ɵ� �ִ�.</p>
 
34
 
 
35
    <p>�⺻������ �����ϵǴ� <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>
 
36
    ����� �������� ����� �����Ѵ�.</p>
 
37
</div>
 
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>
 
46
</ul></div>
 
47
<div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div>
 
48
<div class="section">
 
49
<h2><a name="about" id="about">�������� ����</a></h2>
 
50
 
 
51
    <p>�ڿ��� ���� �ٸ� ǥ���� ���� �� �ִ�. ���� ���, �ٸ�
 
52
    �� �ٸ� media type Ȥ�� �� ��ΰ� �ٸ� ǥ������ ����
 
53
    �� �ִ�. ���� ������ ǥ���� �����ϴ� �Ѱ��� ����� ����ڿ���
 
54
    ��� �������� �����ְ� �����ϰ� �ϴ� ���̴�. �׷��� ������
 
55
    �ڵ����� �����ϴ� �͵� �����ϴ�. �̴� �������� ��û��
 
56
    �Ϻη� �׵��� ��ȣ�ϴ� ǥ���� ���� ������ �����⶧����
 
57
    �����ϴ�. ���� ���, �������� �������� �Ҿ��, �׷���
 
58
    ���ٸ� ����� ������ �����ʹٰ� �˷��� �� �ִ�. ��������
 
59
    ��û�� ����� �׵��� ��ȣ�� ��Ÿ����. ���� �Ҿ�ε� ǥ������
 
60
    ��û�Ѵٸ� �������� ������ ���� ������.</p>
 
61
 
 
62
<div class="example"><p><code>Accept-Language: fr</code></p></div>
 
63
 
 
64
    <p>�̷� ��ȣ�� ǥ���� ���� �ٸ� ��쿡�� �����ȴ�.</p>
 
65
 
 
66
    <p>������ �� ������ ��û�� ���� �������� �Ҿ�� ���
 
67
    ���� �� ������, �Ҿ �� ��ȣ�ϰ�, ���� media type�� ����
 
68
    �� ������, �Ϲ� �ؽ�Ʈ ���ٴ� HTML, �ٸ� media type ���ٴ�
 
69
    GIF�� JPEG�� ��ȣ�Ѵٰ� �˷��ش�.</p>
 
70
 
 
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
 
74
</code></p></div>
 
75
 
 
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)'�� ��������
 
83
    �ʴ´�.</p>
 
84
 
 
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>
 
96
<div class="section">
 
97
<h2><a name="negotiation" id="negotiation">����ġ�� ����</a></h2>
 
98
 
 
99
    <p>�ڿ��� �����ϱ����� ������ �� ������ ���� ������ �ʿ��ϴ�.
 
100
    ���� �ΰ��� ����� �ϳ��� ������ ��´�:</p>
 
101
 
 
102
    <ul>
 
103
      <li>������ ���� ���ϵ��� ���� ������ type map�� (<em>����
 
104
      ���</em>, <code>*.var</code> ����) ����ϰų�,</li>
 
105
 
 
106
      <li>���� ���������ʾƵ� ������ ���ϸ����� ��Ģ�� ã�Ƽ�
 
107
      ����� �����ϴ� 'MultiViews'�� ����Ѵ�.</li>
 
108
    </ul>
 
109
 
 
110
   <h3><a name="type-map" id="type-map">type-map ���� ����ϱ�</a></h3>
 
111
 
 
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>
 
118
 
 
119
<div class="example"><p><code>AddHandler type-map .var</code></p></div>
 
120
 
 
121
    <p>Type map ������ �ش��ϴ� �ڿ��� �̸��� ���ƾ� �ϰ�,
 
122
    �� ������ ���� �׸��� �־�� �Ѵ�. �׸��� ���� HTTP����
 
123
    ��� �ٷ� �����ȴ�. ������ ���� ������ �׸���� ���ٷ�
 
124
    �����Ѵ�. �׸�ȿ��� ������ ����� �� ����. (�̷��� ��
 
125
    �ʿ䰡 ����, �־ ����������) ���� �׸��� �������� ������
 
126
    �ִ� �������� map ������ �����ϴ� ���� �����̴�. ������
 
127
    map ���� ����. �� ������ �̸��� <code>foo.var</code>��,
 
128
    <code>foo</code>��� �ڿ��� �����Ѵ�.</p>
 
129
 
 
130
<div class="example"><p><code>
 
131
  URI: foo<br />
 
132
<br />
 
133
  URI: foo.en.html<br />
 
134
  Content-type: text/html<br />
 
135
  Content-language: en<br />
 
136
<br />
 
137
  URI: foo.fr.de.html<br />
 
138
  Content-type: text/html;charset=iso-8859-2<br />
 
139
  Content-language: fr, de<br />
 
140
</code></p></div>
 
141
    <p>typemap ������ ���ϸ� Ȯ���� ����, ������ Multiviews��
 
142
    ����Ͽ���, �켱���� ������ �����϶�. ������ ���� �ٸ� ǰ����
 
143
    �����ٸ�, ������ ���� (JPEG, GIF, ASCII-art�� �ش��ϴ�)
 
144
    media type�� "qs" �Ķ���ͷ� ǰ��(source quality)�� ǥ����
 
145
    �� �ִ�:</p>
 
146
 
 
147
<div class="example"><p><code>
 
148
  URI: foo<br />
 
149
<br />
 
150
  URI: foo.jpeg<br />
 
151
  Content-type: image/jpeg; qs=0.8<br />
 
152
<br />
 
153
  URI: foo.gif<br />
 
154
  Content-type: image/gif; qs=0.5<br />
 
155
<br />
 
156
  URI: foo.txt<br />
 
157
  Content-type: text/plain; qs=0.01<br />
 
158
</code></p></div>
 
159
 
 
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 ���� ǥ���Ϸ��� �ڿ��� ������
 
168
    ���� �ٸ���.</p>
 
169
 
 
170
    <p>�����ϴ� ��� ��� ����� <a href="mod/mod_negotiation.html#typemaps">mod_negotation
 
171
    typemap</a> ������ �����϶�.</p>
 
172
 
 
173
 
 
174
<h3><a name="multiviews" id="multiviews">Multiviews</a></h3>
 
175
 
 
176
    <p><code>MultiViews</code>�� ���丮�� �ɼ��̹Ƿ�,
 
177
    <code>httpd.conf</code>��
 
178
    <code class="directive"><a href="./mod/core.html#directory">&lt;Directory&gt;</a></code>,
 
179
    <code class="directive"><a href="./mod/core.html#location">&lt;Location&gt;</a></code>,
 
180
    <code class="directive"><a href="./mod/core.html#files">&lt;Files&gt;</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>
 
186
 
 
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>
 
194
 
 
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>
 
202
 
 
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>
 
208
 
 
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>
 
212
 
 
213
    <p>����ġ�� type-map �����̳� ���丮�� �ִ� ���ϸ����
 
214
    �־��� �ڿ��� ���� ���� ����� ��ԵǸ� '������' ������
 
215
    �����ϱ����� �� ����� �ϳ��� ����Ѵ�. ����ġ ��������
 
216
    ����� ����ϱ����� ��Ȯ�� ������ ��� �Ͼ���� �ڼ���
 
217
    �� �ʿ�� ����. �׷��� �ñ��� ����� ���� �� ����� �����Ѵ�.</p>
 
218
 
 
219
    <p>�ΰ��� �������� �ִ�:</p>
 
220
 
 
221
    <ol>
 
222
      <li><strong>����ġ �˰������� ����Ͽ� ������ �ֵ��ϴ�
 
223
      ����</strong>�� �Ϲ����� ��쿡 ����Ѵ�. ����ġ �˰�������
 
224
      �Ʒ��� �ڼ��� �����Ѵ�. �� �˰������� ����ϸ� ����ġ��
 
225
      �� ���� ����� ������� ���� Ư�� ������
 
226
      ǰ�����(quality factor)�� '�����Ѵ�'. ����ġ�� ǰ�������
 
227
      �����ϴ� ����� �Ʒ��� �ڼ��� �����Ѵ�.</li>
 
228
 
 
229
      <li><strong>�ڿ�������(Transparent) ��������</strong>��
 
230
      �������� RFC 2295�� ���ǵ� ������� ��û�� ��쿡��
 
231
      ����Ѵ�. �� �������� '������' ������ ������ ������
 
232
      ���������� �ο��Ѵ�. �׷��� ����� �������� �˰�����
 
233
      �޷ȴ�. �ڿ������� ��������߿� �������� ����ġ����
 
234
      RFC 2296�� ���ǵ� '���� �������� �˰�����(remote variant
 
235
      selection algorithm)'�� ��û�� �� �ִ�.</li>
 
236
    </ol>
 
237
 
 
238
<h3><a name="dimensions" id="dimensions">������ ����</a></h3>
 
239
 
 
240
    <table>
 
241
      
 
242
      <tr valign="top">
 
243
        <th>����</th>
 
244
 
 
245
        <th>����</th>
 
246
      </tr>
 
247
 
 
248
      <tr valign="top">
 
249
        <td>Media Type</td>
 
250
 
 
251
        <td>�������� <code>Accept</code> ����� ��ȣ�� ��Ÿ����.
 
252
        �� �׸��� ǰ������� ���� �� �ִ�. ������ ������ ǰ�������
 
253
        ("qs" �Ķ����) ���� �� �ִ�.</td>
 
254
      </tr>
 
255
 
 
256
      <tr valign="top">
 
257
        <td>Language</td>
 
258
 
 
259
        <td>�������� <code>Accept-Language</code> ����� ��ȣ��
 
260
        ��Ÿ����. �� �׸��� ǰ������� ���� �� �ִ�. ������
 
261
        ���� �� ���� (Ȥ�� �ƹ� �� ����) �� �ִ�.</td>
 
262
      </tr>
 
263
 
 
264
      <tr valign="top">
 
265
        <td>Encoding</td>
 
266
 
 
267
        <td>�������� <code>Accept-Encoding</code> ����� ��ȣ��
 
268
        ��Ÿ����. �� �׸��� ǰ������� ���� �� �ִ�.</td>
 
269
      </tr>
 
270
 
 
271
      <tr valign="top">
 
272
        <td>Charset</td>
 
273
 
 
274
        <td>�������� <code>Accept-Charset</code> ����� ��ȣ��
 
275
        ��Ÿ����. �� �׸��� ǰ������� ���� �� �ִ�. ������
 
276
        media type�� �Ķ���ͷ� ���������� ��Ÿ�� �� �ִ�.</td>
 
277
      </tr>
 
278
    </table>
 
279
 
 
280
 
 
281
<h3><a name="algorithm" id="algorithm">����ġ ���� �˰�����</a></h3>
 
282
 
 
283
    <p>����ġ�� ���������� ���� '������' ������ (�ִٸ�)
 
284
    �����ϱ����� �Ʒ� �˰������� ����Ѵ�. �� �˰������� ������
 
285
    �� ����. ������ ���� �����Ѵ�:</p>
 
286
 
 
287
    <ol>
 
288
      <li>����, ������ �� ������ ���� �ش��ϴ� <em>Accept*</em>
 
289
      ����� �˻��ϰ�, �� ������ ǰ������ �ű��. � ������
 
290
      <em>Accept*</em> ����� �޾Ƶ����� �ʴ� ������ �ĺ�����
 
291
      �����Ѵ�. � ������ ���������� 4 �ܰ�� ����.</li>
 
292
 
 
293
      <li>
 
294
        �ĺ����� �ϳ��� �����Ͽ� '������' ������ ã�´�. ����
 
295
        �� �˻�� ������� �Ͼ��. �� �˻翡�� ���õ�������
 
296
        ������ ���ܵȴ�. �� �˻��� �� ������ ������ �̸� ������
 
297
        �������� �����ϰ� 3 �ܰ�� ����. ���� ������ ������
 
298
        ���� �˻縦 �����Ѵ�.
 
299
 
 
300
        <ol>
 
301
          <li><code>Accept</code> ����� ǰ������� ������
 
302
          media type�� ���� ǰ������ ���Ͽ� ���� ���� ����
 
303
          ���� ������ �����Ѵ�.</li>
 
304
 
 
305
          <li>���� ���� ���(language) ǰ������� ���� ������
 
306
          �����Ѵ�.</li>
 
307
 
 
308
          <li><code>Accept-Language</code> ����� (�ִٸ�)
 
309
          ���� ����� ���� Ȥ�� <code>LanguagePriority</code>
 
310
          ���þ (�ִٸ�) ���� ����� ������ ������ ����
 
311
          ������ �� ���� ������ �����Ѵ�.</li>
 
312
 
 
313
          <li>���� ���� (text/html media type�� ������ ��Ÿ����)
 
314
          'level' media �Ķ���͸� ���� ������ �����Ѵ�.</li>
 
315
 
 
316
          <li><code>Accept-Charset</code> ����� ������ ����
 
317
          ������ charset media �Ķ���͸� ���� ������ ã�´�.
 
318
          ����� ���ٸ� ISO-8859-1 ���������� ���� ��ȣ�Ѵ�.
 
319
          <code>text/*</code> media type�� �������� ����������
 
320
          Ư�� �������հ� ����������� ������ ISO-8859-1��
 
321
          �����Ѵ�.</li>
 
322
 
 
323
          <li>ISO-8859-1�� <em>�ƴ�</em> charset media �Ķ���͸�
 
324
          ���� �������� �����Ѵ�. �׷� ������ ���ٸ�, ��� ���
 
325
          ������ �����Ѵ�.</li>
 
326
 
 
327
          <li>���� ������ ���ڵ��� ���� ������ �����Ѵ�.
 
328
          user-agent�� ������ ���ڵ��� ���� ������ �ִٸ� ��
 
329
          �������� �����Ѵ�. �׷����ʰ� ���ڵ��� ������ ���ڵ��ȵ�
 
330
          ������ ���� �ִٸ� ���ڵ��ȵ� �������� �����Ѵ�. ������
 
331
          ��� ���ڵ��Ǿ��ų� ��� ���ڵ��ȵ� ��� ��� ������
 
332
          �����Ѵ�.</li>
 
333
 
 
334
          <li>content length�� ���� ���� ������ �����Ѵ�.</li>
 
335
 
 
336
          <li>���� ���� ù���� ������ �����Ѵ�. �̴� type-map
 
337
          ������ �տ� ���԰ų�, ���丮���� ������ ���� ���
 
338
          ���ϸ��� ASCII �ڵ� ������ �Ͽ� �տ� ������ ���̴�.</li>
 
339
        </ol>
 
340
      </li>
 
341
 
 
342
      <li>���� �˰������� '������' ������ �����ߴ�. �̰��� ��������
 
343
      ������. HTTP ���� ��� <code>Vary</code>�� ������ ������
 
344
      ��Ÿ���� �ȴ�. (�������� ij���� �ڿ��� ij���Ҷ� �� ������
 
345
      ����� �� �ִ�.) ��.</li>
 
346
 
 
347
      <li>�� �ܰ迡 �����ߴٸ� (��� �������� �������ϱ� ������)
 
348
      � ������ ������ �ȵ� ����. ("No acceptable
 
349
      representation"�� ���ϴ�) ���� 406�� �������� ��밡����
 
350
      ������ ����� ���� HTML ������ ������ ������. ��, HTML
 
351
      <code>Vary</code> ����� ������ ������ ��Ÿ����.</li>
 
352
    </ol>
 
353
 
 
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>
 
357
 
 
358
    <p>����ġ�� ���� ���� ����ġ ���� �˰������� ������ ��Ű���ʰ�
 
359
    ǰ������� �����Ѵ�. ������ �����ϰ� ��Ȯ�� ������ �������ʴ�
 
360
    ���������� (�˰�������) �� ���� ����� ������ ���ؼ���.
 
361
    �θ� ���̴� �������� �Ϻδ� ���� �߸��� ������ �����ϵ���
 
362
    <code>Accept</code> ����� ������. �������� �����ϰ� �ùٸ�
 
363
    ������ �����ٸ�, ������ �����ʴ´�.</p>
 
364
 
 
365
<h3><a name="wildcards" id="wildcards">Media Type�� ���ϵ�ī��</a></h3>
 
366
 
 
367
    <p><code>Accept:</code> ��û ����� media type�� ���� ��ȣ��
 
368
    ��Ÿ����. ��, *�� � ���ڿ��̶� �����ϱ⶧���� "image/*"��
 
369
    "*/*" ���� '���ϵ�ī��' media type�� ����� ���� �ִ�. �׷���
 
370
    ������ ���� ��û��:</p>
 
371
 
 
372
<div class="example"><p><code>Accept: image/*, */*</code></p></div>
 
373
 
 
374
    <p>"image/"�� �����ϴ� � type�� �ٸ� � type�� ��������
 
375
    �ǹ��Ѵ�. � ��������
 
376
    �ڽ��� ������ �ٷ� �� �ִ� type�� �߰��� ���ϵ�ī�带 ������.
 
377
    ���� ���:</p>
 
378
 
 
379
<div class="example"><p><code>
 
380
  Accept: text/html, text/plain, image/gif, image/jpeg, */*
 
381
</code></p></div>
 
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
 
387
</code></p></div>
 
388
    <p>���� ������ type�� ǰ������� ��� �⺻���� (���� ����)
 
389
    1.0�� ������. ���ϵ�ī�� */*�� ���� ��ȣ�� 0.01�� �����Ƿ�
 
390
    ���� ������ type�� �´� ������ ���� ��쿡�� �ٸ� type����
 
391
    ���ȴ�.</p>
 
392
 
 
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>
 
400
 
 
401
 
 
402
<h3><a name="exceptions" id="exceptions">���(language) ������ ����</a></h3>
 
403
 
 
404
    <p>����ġ 2.0�� ��� ������ ������ ��� �ε巴�� �����ϱ�����
 
405
    ���� �˰����� ���� ���ܸ� � �߰��ߴ�.</p>
 
406
 
 
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>
 
417
 
 
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
    ǥ���� ��Ű��, �ùٷ� ������ Ŭ���̾�Ʈ�� ȿ��������
 
436
    �����ϱ������̴�.</p>
 
437
 
 
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>
 
445
 
 
446
    <div class="example"><h3>����</h3><p><code>
 
447
      SetEnvIf Cookie "language=(.+)" prefer-language=$1
 
448
    </code></p></div>
 
449
 
 
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> 
 
453
 
 
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�ڸ����� �ݿø�����
 
461
�ʴ´�.</p>
 
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>
 
465
 
 
466
    <p>���(language) ������ ����Ѵٸ� ������ ���� Ȯ���ڸ�
 
467
    ������ Ȯ������ ������ ���� ��������Ƿ� ���ϸ��� ���� �ٸ�
 
468
    �̸���Ģ�� ����� �� �ִ�. (�ڼ��� ������ <a href="mod/mod_mime.html#multipleext">mod_mime</a> ������
 
469
    �����϶�.)</p>
 
470
 
 
471
    <p>�������� ������ MIME-type Ȯ���� (<em>���� ���</em>,
 
472
    <code>html</code>), ��쿡 ���� encoding Ȯ���� (<em>����
 
473
    ���</em>, <code>gz</code>), ���Ͽ� ���� ��� ������ �ִ�
 
474
    ��� ���� ��� Ȯ���ڸ� (<em>���� ���</em>, <code>en</code>)
 
475
    ������.</p>
 
476
 
 
477
    <p>����:</p>
 
478
 
 
479
    <ul>
 
480
      <li>foo.en.html</li>
 
481
 
 
482
      <li>foo.html.en</li>
 
483
 
 
484
      <li>foo.en.html.gz</li>
 
485
    </ul>
 
486
 
 
487
    <p>������ ��� ���ϸ��� �� ���Ͽ� ���� ��ȿ�ϰ� ��ȿ��������
 
488
    �����۸�ũ�� ���δ�:</p>
 
489
 
 
490
    <table class="bordered">
 
491
      
 
492
      <tr>
 
493
        <th>���ϸ�</th>
 
494
 
 
495
        <th>��ȿ�� �����۸�ũ</th>
 
496
 
 
497
        <th>��ȿ�������� �����۸�ũ</th>
 
498
      </tr>
 
499
 
 
500
      <tr>
 
501
        <td><em>foo.html.en</em></td>
 
502
 
 
503
        <td>foo<br />
 
504
         foo.html</td>
 
505
 
 
506
        <td>-</td>
 
507
      </tr>
 
508
 
 
509
      <tr>
 
510
        <td><em>foo.en.html</em></td>
 
511
 
 
512
        <td>foo</td>
 
513
 
 
514
        <td>foo.html</td>
 
515
      </tr>
 
516
 
 
517
      <tr>
 
518
        <td><em>foo.html.en.gz</em></td>
 
519
 
 
520
        <td>foo<br />
 
521
         foo.html</td>
 
522
 
 
523
        <td>foo.gz<br />
 
524
         foo.html.gz</td>
 
525
      </tr>
 
526
 
 
527
      <tr>
 
528
        <td><em>foo.en.html.gz</em></td>
 
529
 
 
530
        <td>foo</td>
 
531
 
 
532
        <td>foo.html<br />
 
533
         foo.html.gz<br />
 
534
         foo.gz</td>
 
535
      </tr>
 
536
 
 
537
      <tr>
 
538
        <td><em>foo.gz.html.en</em></td>
 
539
 
 
540
        <td>foo<br />
 
541
         foo.gz<br />
 
542
         foo.gz.html</td>
 
543
 
 
544
        <td>foo.html</td>
 
545
      </tr>
 
546
 
 
547
      <tr>
 
548
        <td><em>foo.html.gz.en</em></td>
 
549
 
 
550
        <td>foo<br />
 
551
         foo.html<br />
 
552
         foo.html.gz</td>
 
553
 
 
554
        <td>foo.gz</td>
 
555
      </tr>
 
556
    </table>
 
557
 
 
558
    <p>�� ǥ�� ���� �����۸�ũ�� � Ȯ���ڵ� ���� �̸���
 
559
    (<em>���� ���</em>, <code>foo</code>) �׻� ����� �� ������
 
560
    �� �� �ִ�. �� ��� ������ ������ ���� ������ ���� �� �־,
 
561
    <em>���� ���</em> ���̷���ũ ������ �����Ͼʰ�
 
562
    <code>html</code> ������ <code>shtml</code>�̳�
 
563
    <code>cgi</code>�� ������ �� �ִٴ� ���̴�.</p>
 
564
 
 
565
    <p>��� �����۸�ũ�� MIME-type�� (<em>���� ���</em>,
 
566
    <code>foo.html</code>) ����ϰ� �ʹٸ� (encoding Ȯ���ڰ�
 
567
    �ִٸ� �̰͵� �����Ͽ�) ��� Ȯ���ڸ� MIME-type Ȯ���ں���
 
568
    �����ʿ� (<em>���� ���</em>, <code>foo.html.en</code>)
 
569
    �ξ���Ѵ�.</p>
 
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>
 
573
 
 
574
    <p>ij���� ǥ���� �����ϸ� ǥ���� ��û URL�� ������Ų��.
 
575
    ������ �� URL�� ��û�ϸ� ij���� ����� ǥ���� ����Ѵ�.
 
576
    �׷��� ������ ������ ������ �ڿ��� ��� ù��° ��û�� ������
 
577
    ij���Ǿ� ���� ��û�� ij���� �߸��� ������ ���� �� �ִ�.
 
578
    �̸� �������� ����ġ�� ���� ���������� ��ȯ�Ǵ� ��� ��û��
 
579
    HTTP/1.0 Ŭ���̾�Ʈ�� ij���� ���ϵ��� ǥ�ø� �Ѵ�. ��, ����ġ��
 
580
    ������ ������ ij���� ����ϴ� HTTP/1.1 ���������� �����
 
581
    �����Ѵ�.</p>
 
582
 
 
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>
 
588
 
 
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>
 
594
 
 
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>
 
598
 
 
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>
 
602
</div></div>
 
603
<div class="bottomlang">
 
604
<p><span>������ ���: </span><a href="./en/content-negotiation.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
 
605
<a href="./ja/content-negotiation.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
 
606
<a href="./ko/content-negotiation.html" title="Korean">&nbsp;ko&nbsp;</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>
 
610
</body></html>
 
 
b'\\ No newline at end of file'