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>����ġ���� �ڵ鷯 ��� - 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" /><link rel="stylesheet" type="text/css" href="/style/css/prettify.css" />
12<script src="/style/scripts/prettify.js" type="text/javascript">
13</script>
14
15<link href="/images/favicon.ico" rel="shortcut icon" /></head>
16<body id="manual-page"><div id="page-header">
17<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p>
18<p class="apache">Apache HTTP Server Version 2.2</p>
19<img alt="" src="/images/feather.gif" /></div>
20<div class="up"><a href="./"><img title="&lt;-" alt="&lt;-" src="/images/left.gif" /></a></div>
21<div id="path">
22<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>����ġ���� �ڵ鷯 ���</h1>
23<div class="toplang">
24<p><span>������ ���: </span><a href="/en/handler.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
25<a href="/es/handler.html" hreflang="es" rel="alternate" title="Espa&#241;ol">&nbsp;es&nbsp;</a> |
26<a href="/fr/handler.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
27<a href="/ja/handler.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
28<a href="/ko/handler.html" title="Korean">&nbsp;ko&nbsp;</a> |
29<a href="/ru/handler.html" hreflang="ru" rel="alternate" title="Russian">&nbsp;ru&nbsp;</a> |
30<a href="/tr/handler.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a> |
31<a href="/zh-cn/handler.html" hreflang="zh-cn" rel="alternate" title="Simplified Chinese">&nbsp;zh-cn&nbsp;</a></p>
32</div>
33<div class="outofdate">�� ������ �ֽ��� ���� �ƴմϴ�.
34            �ֱٿ� ����� ������ ���� ������ ����ϼ���.</div>
35
36    <p>�� ������ ����ġ���� �ڵ鷯�� ����ϴ� ����� �����Ѵ�.</p>
37  </div>
38<div id="quickview"><ul id="toc"><li><img alt="" src="/images/down.gif" /> <a href="#definition">�ڵ鷯�� �����ΰ�</a></li>
39<li><img alt="" src="/images/down.gif" /> <a href="#examples">����</a></li>
40<li><img alt="" src="/images/down.gif" /> <a href="#programmer">���α׷��Ӹ� ���� ����</a></li>
41</ul><ul class="seealso"><li><a href="#comments_section">Comments</a></li></ul></div>
42<div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
43<div class="section">
44<h2><a name="definition" id="definition">�ڵ鷯�� �����ΰ�</a></h2>
45    
46    <table class="related"><tr><th>��õ� ���</th><th>��õ� ���þ�</th></tr><tr><td><ul><li><code class="module"><a href="/mod/mod_actions.html">mod_actions</a></code></li><li><code class="module"><a href="/mod/mod_asis.html">mod_asis</a></code></li><li><code class="module"><a href="/mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="/mod/mod_imagemap.html">mod_imagemap</a></code></li><li><code class="module"><a href="/mod/mod_info.html">mod_info</a></code></li><li><code class="module"><a href="/mod/mod_mime.html">mod_mime</a></code></li><li><code class="module"><a href="/mod/mod_negotiation.html">mod_negotiation</a></code></li><li><code class="module"><a href="/mod/mod_status.html">mod_status</a></code></li></ul></td><td><ul><li><code class="directive"><a href="/mod/mod_actions.html#action">Action</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><code class="directive"><a href="/mod/mod_mime.html#removehandler">RemoveHandler</a></code></li><li><code class="directive"><a href="/mod/core.html#sethandler">SetHandler</a></code></li></ul></td></tr></table>
47
48
49    <p>������ ��û�Ҷ� ����ġ�� ���������� ������ �۾���
50    "�ڵ鷯(handler)"��� �Ѵ�. �Ϲ������� ������ ���� ����
51    ��� �Ϲ����� �ڵ鷯�� ������ �ִ�. ��� ������ ���� ������
52    ������ ����������, � ���� ����� ��� "ó���ȴ�(handled)".</p>
53
54    <p>Apache 1.1���� �ڵ鷯�� ��������� ����� �� �ְ� �Ǿ��.
55    ���� ����� ������ �ڵ鷯�� ������ Ȯ���ڳ� ��ġ�� ���
56    ������ �� �ִ�. �̴� �� �Ǹ��� ����̰� ������ ����� �ڵ鷯
57    �� ��ο� ������ �� �ֱ⶧���� ����. (<a href="mod/mod_mime.html#multipleext">���� Ȯ���ڸ� ���� ����</a>��
58    ���)</p>
59
60    <p>�ڵ鷯�� ������ ���� �����Ͽ�, <code class="directive"><a href="/mod/mod_actions.html#action">Action</a></code> ���þ�� �߰���
61    �� �ִ�. ǥ�� �������� �ִ� �⺻ �ڵ鷯�� ������ ����:</p>
62
63    <ul>
64      <li><strong>default-handler</strong>: ������ ������
65      ó���ϱ����� �⺻������ ����ϴ� �ڵ鷯
66      <code>default_handler()</code>�� ����Ͽ� ������ ������.
67      (core)</li>
68
69      <li><strong>send-as-is</strong>: HTTP ����� �ִ� ������
70      �״�� ������. (<code class="module"><a href="/mod/mod_asis.html">mod_asis</a></code>)</li>
71
72      <li><strong>cgi-script</strong>: ������ CGI�� ó���Ѵ�.
73      (<code class="module"><a href="/mod/mod_cgi.html">mod_cgi</a></code>)</li>
74
75      <li><strong>imap-file</strong>: imagemap ��Ģ ���Ϸ�
76      ó���Ѵ�. (<code class="module"><a href="/mod/mod_imagemap.html">mod_imagemap</a></code>)</li>
77
78      <li><strong>server-info</strong>: ������ ���� ������
79      �˷��ش�. (<code class="module"><a href="/mod/mod_info.html">mod_info</a></code>)</li>
80
81      <li><strong>server-status</strong>: ������ ���¸� �����Ѵ�.
82      (<code class="module"><a href="/mod/mod_status.html">mod_status</a></code>)</li>
83
84      <li><strong>type-map</strong>: ������� �����
85      type map���� ó���Ѵ�.
86      (<code class="module"><a href="/mod/mod_negotiation.html">mod_negotiation</a></code>)</li>
87    </ul>
88  </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
89<div class="section">
90<h2><a name="examples" id="examples">����</a></h2>
91    
92
93    <h3><a name="example1" id="example1">CGI ��ũ��Ʈ�� ����Ͽ� ������ ���� �����ϱ�</a></h3>
94      
95
96      <p>���� ���þ�� Ȯ���ڰ� <code>html</code>�� ������
97      ��û�� ��� <code>footer.pl</code> CGI ��ũ��Ʈ�� ����.</p>
98
99      <div class="example"><p><code>
100        Action add-footer /cgi-bin/footer.pl<br />
101        AddHandler add-footer .html
102      </code></p></div>
103
104      <p>CGI ��ũ��Ʈ��
105      (<code>PATH_TRANSLATED</code> ȯ�溯���� ��Ī�ϴ�) ��
106      ��û�� ������ ������ ������ �� ������.</p>
107 
108    
109    <h3><a name="example2" id="example2">HTTP ����� �����ϴ� ����</a></h3>
110      
111
112      <p>���� ���þ�� HTTP ����� �����ϴ� ���Ͽ�
113      <code>send-as-is</code> �ڵ鷯�� �����Ѵ�.
114      <code>/web/htdocs/asis/</code> ���丮 �ȿ� �ִ� ���
115      ������ Ȯ���ڿ� ������ <code>send-as-is</code> �ڵ鷯��
116      ó���Ѵ�.</p>
117
118      <div class="example"><p><code>
119        &lt;Directory /web/htdocs/asis&gt;<br />
120        SetHandler send-as-is<br />
121        &lt;/Directory&gt;
122      </code></p></div>
123
124    
125  </div><div class="top"><a href="#page-header"><img alt="top" src="/images/up.gif" /></a></div>
126<div class="section">
127<h2><a name="programmer" id="programmer">���α׷��Ӹ� ���� ����</a></h2>
128    
129
130    <p>�ڵ鷯 ����� �����ϱ����� ���������
131    <a href="developer/API.html">Apache API</a>�� �߰��Ǿ��.
132    Ư�� <code>request_rec</code> ����ü�� ���ο� �ʵ尡
133    �߰��Ǿ��:</p>
134
135    <div class="example"><p><code>
136      char *handler
137    </code></p></div>
138
139    <p>����� �ڵ鷯�� ����Ϸ���, ��û��
140    <code>invoke_handler</code> �ܰ� ����
141    <code>r-&gt;handler</code>�� �ڵ鷯 �̸��� �������ֱ⸸
142    �ϸ� �ȴ�. �ڵ鷯�� content type ��� �ڵ鷯 �̸��� �����
143    ���� �����ϰ�� ��� ���� �����Ǿ��. �� ��ų �ʿ�� ������
144    �ڵ鷯 �̸��� �������� ������� �ʰ�, �ܾ�� ���̿� ����
145    ��ȣ�� ����ϴ� ���� �Ϲ����̴�. �׷��� �ڵ鷯 �̸���
146    media type�� ��ġ�� �ʴ´�.</p>
147  </div></div>
148<div class="bottomlang">
149<p><span>������ ���: </span><a href="/en/handler.html" hreflang="en" rel="alternate" title="English">&nbsp;en&nbsp;</a> |
150<a href="/es/handler.html" hreflang="es" rel="alternate" title="Espa&#241;ol">&nbsp;es&nbsp;</a> |
151<a href="/fr/handler.html" hreflang="fr" rel="alternate" title="Fran&#231;ais">&nbsp;fr&nbsp;</a> |
152<a href="/ja/handler.html" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
153<a href="/ko/handler.html" title="Korean">&nbsp;ko&nbsp;</a> |
154<a href="/ru/handler.html" hreflang="ru" rel="alternate" title="Russian">&nbsp;ru&nbsp;</a> |
155<a href="/tr/handler.html" hreflang="tr" rel="alternate" title="T&#252;rk&#231;e">&nbsp;tr&nbsp;</a> |
156<a href="/zh-cn/handler.html" hreflang="zh-cn" rel="alternate" title="Simplified Chinese">&nbsp;zh-cn&nbsp;</a></p>
157</div><div class="top"><a href="#page-header"><img src="/images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>Notice:</strong><br />This is not a Q&amp;A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our <a href="http://httpd.apache.org/lists.html">mailing lists</a>.</div>
158<script type="text/javascript"><!--//--><![CDATA[//><!--
159var comments_shortname = 'httpd';
160var comments_identifier = 'http://httpd.apache.org/docs/2.2/handler.html';
161(function(w, d) {
162    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
163        d.write('<div id="comments_thread"><\/div>');
164        var s = d.createElement('script');
165        s.type = 'text/javascript';
166        s.async = true;
167        s.src = 'https://comments.apache.org/show_comments.lua?site=' + comments_shortname + '&page=' + comments_identifier;
168        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
169    }
170    else { 
171        d.write('<div id="comments_thread">Comments are disabled for this page at the moment.<\/div>');
172    }
173})(window, document);
174//--><!]]></script></div><div id="footer">
175<p class="apache">Copyright 2013 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>
176<p class="menu"><a href="/mod/">���</a> | <a href="/mod/directives.html">���þ��</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="/glossary.html">���</a> | <a href="/sitemap.html">����Ʈ��</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
177if (typeof(prettyPrint) !== 'undefined') {
178    prettyPrint();
179}
180//--><!]]></script>
181</body></html>