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